summaryrefslogtreecommitdiff
blob: 2696764974da681f71bb606da044325c13180513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This patch reverts the change from
# https://bugzilla.mozilla.org/show_bug.cgi?id=643294

--- comm-2.0/suite/browser/tabbrowser.xml
+++ comm-2.0/suite/browser/tabbrowser.xml
@@ -3000,7 +3000,7 @@
 
       <destructor>
         <![CDATA[
-          window.removeEventListener("resize", this, false);
+          document.removeEventListener("resize", this, false);
         ]]>
       </destructor>
 
@@ -3123,13 +3123,6 @@
             this._handleNewTab(event.target);
         ]]>
       </handler>
-
-      <handler event="DOMMouseScroll" phase="capturing">
-        <![CDATA[
-          this.advanceSelectedTab(event.detail < 0 ? -1 : 1);
-          event.stopPropagation();
-        ]]>
-      </handler>
     </handlers>
   </binding>