From 069bb624e5b80c1a043d0fa6ecd882e04bdcfafc Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 19 Mar 2013 16:44:32 +0000 Subject: [PATCH] Fix popup removal --- core/modules/utils/dom/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/utils/dom/popup.js b/core/modules/utils/dom/popup.js index b464f26c1..9fc010656 100644 --- a/core/modules/utils/dom/popup.js +++ b/core/modules/utils/dom/popup.js @@ -26,7 +26,7 @@ Popup.prototype.show = function(options) { this.title = options.title; this.wiki = options.wiki; this.anchorDomNode = options.domNode; - this.rootElement.addEventListener("click",this,true); + this.rootElement.addEventListener("click",this,false); }; Popup.prototype.handleEvent = function(event) { @@ -36,7 +36,7 @@ Popup.prototype.handleEvent = function(event) { }; Popup.prototype.cancel = function() { - this.rootElement.removeEventListener("click",this,true); + this.rootElement.removeEventListener("click",this,false); if(this.title) { this.wiki.deleteTiddler(this.title); this.title = null;