Bug 587697 - Sharing context menu appears when panning [r=mfinkle]
authorWesley Johnston <wjohnston@mozilla.com>
Sat, 28 Aug 2010 16:24:40 -0400
changeset 66514 2e5294ed605b658c4191e763a526a5905cf770d5
parent 66513 e82d77267c6ae8ca752e055aac262b236ef3eb1d
child 66515 222eb8ef2cab559a056e1ff878940d6f312792cc
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)
reviewersmfinkle
bugs587697
Bug 587697 - Sharing context menu appears when panning [r=mfinkle]
mobile/chrome/content/content.js
--- a/mobile/chrome/content/content.js
+++ b/mobile/chrome/content/content.js
@@ -474,17 +474,17 @@ Content.prototype = {
             keyCode: json.keyCode,
             charCode: json.charCode
           });
         }
         break;
 
       case "Browser:MouseDown":
         this._overlayTimeout.clear();
-        this._overlayTimeout.clear();
+        this._contextTimeout.clear();
 
         let element = elementFromPoint(x, y);
         if (!element)
           return;
 
         if (element.mozMatchesSelector("*:link,*:visited,*:link *,*:visited *,*[role=button],button,input,option,select,textarea,label")) {
           this._overlayTimeout.once(kTapOverlayTimeout, function() {
             let rects = getContentClientRects(element);