mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
commit
c15ecfc29f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,6 @@ export default class Dialog extends WithTemplate {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
this.dialog.returnValue = 'accept'
|
this.dialog.returnValue = 'accept'
|
||||||
this.close()
|
this.close()
|
||||||
this.dialog.returnValue = undefined
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.dialog.addEventListener('keydown', (e) => {
|
this.dialog.addEventListener('keydown', (e) => {
|
||||||
|
@ -143,6 +142,7 @@ export default class Dialog extends WithTemplate {
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.toggle(false)
|
this.toggle(false)
|
||||||
|
this.dialog.returnValue = undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
toggle(open = false) {
|
toggle(open = false) {
|
||||||
|
|
Loading…
Reference in a new issue