[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 76/483: Hotkeys should be captured

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit b20724e8a11a65993003dca909b095137904e50f
Author: Wladimir Palant <trev at gtchat.de>
Date:   Mon Jan 29 06:46:49 2007 +0000

    Hotkeys should be captured
    
    --HG--
    extra : convert_revision : svn%3Ad8bf93c1-8190-44a8-bb31-1ea94378a4df/trunk%40684
---
 chrome/content/aardvark.js | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/chrome/content/aardvark.js b/chrome/content/aardvark.js
index 3591206..76e92ca 100644
--- a/chrome/content/aardvark.js
+++ b/chrome/content/aardvark.js
@@ -65,11 +65,11 @@ ehhAardvark.start = function(browser) {
     }
   }
 
-  browser.addEventListener("click", this.mouseClick, false);
-  browser.addEventListener("mouseover", this.mouseOver, false);
-  browser.addEventListener("keypress", this.keyPress, false);
-  browser.addEventListener("mousemove", this.mouseMove, false);
-  browser.contentWindow.addEventListener("pagehide", this.pageHide, false);
+  browser.addEventListener("click", this.mouseClick, true);
+  browser.addEventListener("mouseover", this.mouseOver, true);
+  browser.addEventListener("keypress", this.keyPress, true);
+  browser.addEventListener("mousemove", this.mouseMove, true);
+  browser.contentWindow.addEventListener("pagehide", this.pageHide, true);
 
   browser.contentWindow.focus();
 
@@ -501,11 +501,11 @@ ehhAardvark.quit = function ()
   this.clearBox();
   ehhHideTooltips();
   
-  this.browser.removeEventListener("click", this.mouseClick, false);
-  this.browser.removeEventListener("mouseover", this.mouseOver, false);
-  this.browser.removeEventListener("keypress", this.keyPress, false);
-  this.browser.removeEventListener("mousemove", this.mouseMove, false);
-  this.browser.contentWindow.removeEventListener("pagehide", this.pageHide, false);
+  this.browser.removeEventListener("click", this.mouseClick, true);
+  this.browser.removeEventListener("mouseover", this.mouseOver, true);
+  this.browser.removeEventListener("keypress", this.keyPress, true);
+  this.browser.removeEventListener("mousemove", this.mouseMove, true);
+  this.browser.contentWindow.removeEventListener("pagehide", this.pageHide, true);
 
   this.selectedElem = null;
   this.browser = null;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list