Bug 483182: fix typo in _onMouseDown, r=bcombee
authorMike Kristoffersen <mkristoffersen@mozilla.com>
Fri, 13 Mar 2009 16:00:50 -0400
changeset 65119 ce6fad957a24f7bc00abaf28314067f366914ae4
parent 65118 3e9986498611c878afe214b625190abe06c2fe3c
child 65120 1071e8eb99794a9d5303df81a68d5c6522ae8de7
push idunknown
push userunknown
push dateunknown
reviewersbcombee
bugs483182
Bug 483182: fix typo in _onMouseDown, r=bcombee
mobile/chrome/content/InputHandler.js
--- a/mobile/chrome/content/InputHandler.js
+++ b/mobile/chrome/content/InputHandler.js
@@ -509,17 +509,17 @@ ContentPanningModule.prototype = {
 
   _dragMove: function _dragMove(sX, sY) {
     let dragData = this._dragData;
     ws.dragMove(sX, sY);
   },
 
   _onMouseDown: function _onMouseDown(aEvent) {
     // if we're in the process of kineticly scrolling, stop and start over
-    if (this.kineticHandle != -1)
+    if (this._kineticData.kineticHandle != -1)
       this._endKinetic(aEvent.screenX, aEvent.screenY);
 
     let dragData = this._dragData;
 
     dragData.sX = aEvent.screenX;
     dragData.sY = aEvent.screenY;
 
     dragData.dragStartTimeout = setTimeout(function(self, sX, sY) { self._dragStart(sX, sY); },