Bug 587697 - Sharing context menu appears when panning [r=mfinkle]
authorWesley Johnston <wjohnston@mozilla.com>
Sat, 28 Aug 2010 16:24:40 -0400
changeset 1870 b2bdb51a452729a247a811c60ccfb89d0246f3f7
parent 1869 6424e79ebf94df22380965a433e2a0d638b349a1
child 1871 00b820124ae5b2b881a0098d22917f3ef86fe100
push id1655
push usermfinkle@mozilla.com
push dateSat, 28 Aug 2010 20:24:05 +0000
reviewersmfinkle
bugs587697
Bug 587697 - Sharing context menu appears when panning [r=mfinkle]
chrome/content/content.js
--- a/chrome/content/content.js
+++ b/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);