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
This commit is contained in:
dveditz%cruzio.com
2005-07-07 10:25:06 +00:00
parent 23700801e5
commit 5cf66e3fa1

View File

@@ -141,6 +141,7 @@
}
break;
default:
linkNode = event.originalTarget;
while (linkNode && !(linkNode instanceof HTMLAnchorElement))
linkNode = linkNode.parentNode;
// <a> cannot be nested. So if we find an anchor without an