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