From 969a4f7e3ab113216ccf22acd10ff22fcc84aa5b Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Mon, 5 Mar 2001 01:54:19 +0000 Subject: [PATCH] Middle-click to paste broken (70773). r=timeless sr=jst git-svn-id: svn://10.0.0.236/trunk@88527 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/communicator/resources/content/contentAreaClick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/communicator/resources/content/contentAreaClick.js b/mozilla/xpfe/communicator/resources/content/contentAreaClick.js index f2f6f68fcc8..3ba1bf4b913 100644 --- a/mozilla/xpfe/communicator/resources/content/contentAreaClick.js +++ b/mozilla/xpfe/communicator/resources/content/contentAreaClick.js @@ -125,7 +125,7 @@ handleLinkClick(event, linkNode.href); return true; } - if (pref && event.button == 2 && + if (pref && event.button == 1 && !findParentNode(event.originalTarget, "scrollbar") && pref.GetBoolPref("middlemouse.contentLoadURL")) { if (middleMousePaste()) {