Bug 610992 - "Left and right swipe should change places" [r=mark.finkle]
authorEgor Starkov <starkov.egor@gmail.com>
Wed, 10 Nov 2010 07:02:00 -0500
changeset 66982 cc5f9cb3d061ce6f1e2036d267e94bba93fa14eb
parent 66981 33b2d2fd21dbf7f29567a7f5413a1f177301ecf6
child 66983 a95f12bf960464a02aa55bdf348c83320270485d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs610992
Bug 610992 - "Left and right swipe should change places" [r=mark.finkle]
mobile/chrome/content/input.js
--- a/mobile/chrome/content/input.js
+++ b/mobile/chrome/content/input.js
@@ -1006,20 +1006,20 @@ GestureModule.prototype = {
           switch (aEvent.direction) {
             case gesture.DIRECTION_UP:
               Browser.scrollContentToBottom();
               break;
             case gesture.DIRECTION_DOWN:
               Browser.scrollContentToTop();
               break;
             case gesture.DIRECTION_LEFT:
-              CommandUpdater.doCommand("cmd_back");
+              CommandUpdater.doCommand("cmd_forward");
               break;
             case gesture.DIRECTION_RIGHT:
-              CommandUpdater.doCommand("cmd_forward");
+              CommandUpdater.doCommand("cmd_back");
               break;
           }
           break;
 
         case "MozMagnifyGestureStart":
           consume = true;
           this._pinchStart(aEvent);
           break;