1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 15:30:47 +00:00

Fixed problem with tag dropdowns in Firefox

This commit is contained in:
Jeremy Ruston 2012-06-13 16:43:08 +01:00
parent 474212dade
commit 513fa6f756

View File

@ -68,7 +68,7 @@ exports.handleEvent = function(event) {
event.preventDefault();
return false;
case "tw-cancel-popup":
if(this.hasParameter("popup") && !$tw.utils.domContains(this.domNode,event.targetOfCancel)) {
if(this.hasParameter("popup") && this.domNode !== event.targetOfCancel && !$tw.utils.domContains(this.domNode,event.targetOfCancel)) {
this.triggerPopup(event,true);
}
break;