Compare commits

..

No commits in common. "c15ecfc29f7c3ed618267fcb05b8b8f6e0c1d05b" and "246aedaeb94259dcf016b81faa44e82db6bfc75e" have entirely different histories.

View file

@ -78,6 +78,7 @@ export default class Dialog extends WithTemplate {
event.preventDefault()
this.dialog.returnValue = 'accept'
this.close()
this.dialog.returnValue = undefined
})
}
this.dialog.addEventListener('keydown', (e) => {
@ -142,7 +143,6 @@ export default class Dialog extends WithTemplate {
close() {
this.toggle(false)
this.dialog.returnValue = undefined
}
toggle(open = false) {