followup bug 461376 - double rotate gesture. rs=Mardak
authorTom Dyas <tdyas@zecador.org>
Sat, 01 Nov 2008 12:08:34 -0500
changeset 21176 a59bd50cd9c8ac9c1326badf78828c0684ae5946
parent 21175 9f4dddb8d5f3297abfb611c58e8ff228098e8e2c
child 21177 2c00478d356a7fea6b01d457732bcf4567d3c74d
push id3380
push useredward.lee@engineering.uiuc.edu
push dateSat, 01 Nov 2008 17:10:12 +0000
treeherdermozilla-central@a59bd50cd9c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMardak
bugs461376
milestone1.9.1b2pre
followup bug 461376 - double rotate gesture. rs=Mardak
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -676,17 +676,17 @@ let gGestureSupport = {
    * Add or remove mouse gesture event listeners
    *
    * @param aAddListener
    *        True to add/init listeners and false to remove/uninit
    */
   init: function GS_init(aAddListener) {
     const gestureEvents = ["SwipeGesture",
       "MagnifyGestureStart", "MagnifyGestureUpdate", "MagnifyGesture",
-      "RotateGesture", "RotateGestureUpdate", "RotateGesture"];
+      "RotateGestureStart", "RotateGestureUpdate", "RotateGesture"];
 
     let addRemove = aAddListener ? window.addEventListener :
       window.removeEventListener;
 
     for each (let event in gestureEvents)
       addRemove("Moz" + event, this, true);
   },