1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

New window: add missing click listener for popups (#3538)

this adds a click listener to new windows which enables us to cancel popups by clicking
This commit is contained in:
BurningTreeC 2018-11-13 19:08:55 +01:00 committed by Jeremy Ruston
parent 55b5b6dd56
commit c82edbe6bc

View File

@ -83,6 +83,10 @@ exports.startup = function() {
name: "keydown",
handlerObject: $tw.keyboardManager,
handlerMethod: "handleKeydownEvent"
},{
name: "click",
handlerObject: $tw.popup,
handlerMethod: "handleEvent"
}]);
srcWindow.haveInitialisedWindow = true;
});