From 5cf66e3fa11335a466aa5d5e69a1daab2cbd9310 Mon Sep 17 00:00:00 2001 From: "dveditz%cruzio.com" Date: Thu, 7 Jul 2005 10:25:06 +0000 Subject: [PATCH] bug 299901: Middle-click fails on links with nested tags. patch by Gavin Sharp, r=mconnor, sr=dveditz, a=jay git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_1_20050124_BRANCH@175736 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/communicator/resources/content/contentAreaClick.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/xpfe/communicator/resources/content/contentAreaClick.js b/mozilla/xpfe/communicator/resources/content/contentAreaClick.js index ebd1b3a0ccb..1f4ce351dde 100644 --- a/mozilla/xpfe/communicator/resources/content/contentAreaClick.js +++ b/mozilla/xpfe/communicator/resources/content/contentAreaClick.js @@ -141,6 +141,7 @@ } break; default: + linkNode = event.originalTarget; while (linkNode && !(linkNode instanceof HTMLAnchorElement)) linkNode = linkNode.parentNode; // cannot be nested. So if we find an anchor without an