kopia lustrzana https://github.com/miklobit/TiddlyWiki5
New window: add missing click listener for popups (#3538)
this adds a click listener to new windows which enables us to cancel popups by clickinglogging-improvements
rodzic
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;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue