Popup close buttons can take a URL.

This commit is contained in:
2021-02-24 16:13:50 +01:00
parent 114c217ffa
commit ac779af339
68 changed files with 18127 additions and 43084 deletions
+8 -3
View File
@@ -113,9 +113,14 @@ export default class PopupMenu extends Popup {
if (this.autoClose) {
this.close()
}
setTimeout((event, key) => {
func(event, key)
}, 20, event, key)
setTimeout(
(event, key) => {
func(event, key)
},
20,
event,
key
)
}
/** Update the menu item denoted by key.