From 8e8e504ae9dcbca10059e95c241805f71bcfe245 Mon Sep 17 00:00:00 2001 From: "mconnor%steelgryphon.com" Date: Sat, 29 Jul 2006 05:44:14 +0000 Subject: [PATCH] bug 299901 - Middle click fail on links with nested tags, patch by gavin, r+sr=dveditz, a=jay --- suite/common/contentAreaClick.js | 1 + 1 file changed, 1 insertion(+) diff --git a/suite/common/contentAreaClick.js b/suite/common/contentAreaClick.js index 08a39d0a60c4..ee1b693c7baa 100644 --- a/suite/common/contentAreaClick.js +++ b/suite/common/contentAreaClick.js @@ -134,6 +134,7 @@ prefillTextBox(target); // prefill the empty text field if possible } else { + linkNode = event.originalTarget; while (linkNode && !(linkNode instanceof HTMLAnchorElement)) linkNode = linkNode.parentNode; // cannot be nested. So if we find an anchor without an