mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-17 11:30:02 +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:
parent
55b5b6dd56
commit
c82edbe6bc
@ -83,6 +83,10 @@ exports.startup = function() {
|
|||||||
name: "keydown",
|
name: "keydown",
|
||||||
handlerObject: $tw.keyboardManager,
|
handlerObject: $tw.keyboardManager,
|
||||||
handlerMethod: "handleKeydownEvent"
|
handlerMethod: "handleKeydownEvent"
|
||||||
|
},{
|
||||||
|
name: "click",
|
||||||
|
handlerObject: $tw.popup,
|
||||||
|
handlerMethod: "handleEvent"
|
||||||
}]);
|
}]);
|
||||||
srcWindow.haveInitialisedWindow = true;
|
srcWindow.haveInitialisedWindow = true;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user