]>
BookStack Code Mirror - bookstack/blobdiff - resources/js/components/confirm-dialog.js
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #5917 from BookStackApp/copy_references
[bookstack]
/
resources
/
js
/
components
/
confirm-dialog.js
diff --git
a/resources/js/components/confirm-dialog.js
b/resources/js/components/confirm-dialog.js
index 2a3b6e776605687f0350057ac5bbb7f3e50f7dcc..00f3cfed201c34016da201a0fca14afb6c07e37c 100644
(file)
--- a/
resources/js/components/confirm-dialog.js
+++ b/
resources/js/components/confirm-dialog.js
@@
-1,4
+1,4
@@
-import {onSelect} from '../services/dom';
+import {onSelect} from '../services/dom
.ts
';
import {Component} from './component';
/**
@@
-25,7
+25,7
@@
export class ConfirmDialog extends Component {
this.sendResult(false);
});
- return new Promise(
(res, rej)
=> {
+ return new Promise(
res
=> {
this.res = res;
});
}