Backed out changeset 8f79f5a6b073 because the author name was missing in original patch
authorEric Chou <echou@mozilla.com>
Mon, 27 Aug 2012 11:23:48 +0800
changeset 103526 6bf3ae02890edbd368c03e13f9cb16a2791fad55
parent 103525 8f79f5a6b073634badf0a1ae1f575bc93fff53ee
child 103527 5c49d6790357cfb8d593e585b43b3cad7c2d28f2
child 103528 9dd60aeba5b7b48260679679bdf347479a0183b4
push idunknown
push userunknown
push dateunknown
milestone17.0a1
backs out8f79f5a6b073634badf0a1ae1f575bc93fff53ee
Backed out changeset 8f79f5a6b073 because the author name was missing in original patch
dom/browser-element/BrowserElementScrolling.js
--- a/dom/browser-element/BrowserElementScrolling.js
+++ b/dom/browser-element/BrowserElementScrolling.js
@@ -25,17 +25,17 @@ const ContentPanning = {
         break;
       case 'click':
         evt.stopPropagation();
         evt.preventDefault();
         
         let target = evt.target;
         let view = target.ownerDocument ? target.ownerDocument.defaultView
                                         : target;
-        view.removeEventListener('click', this, true, true);
+        view.removeEventListener('click', this, false, true);
         break;
     }
   },
 
   position: new Point(0 , 0),
 
   onTouchStart: function cp_onTouchStart(evt) {
     this.dragging = true;
@@ -78,17 +78,17 @@ const ContentPanning = {
 
     this.onTouchMove(evt);
 
     let click = evt.detail;
     if (this.target && click && (this.panning || this.preventNextClick)) {
       let target = this.target;
       let view = target.ownerDocument ? target.ownerDocument.defaultView
                                       : target;
-      view.addEventListener('click', this, true, true);
+      view.addEventListener('click', this, false, true);
     }
 
     if (this.panning)
       KineticPanning.start(this);
   },
 
   onTouchMove: function cp_onTouchMove(evt) {
     if (!this.dragging || !this.scrollCallback)