mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1227116 - fix cmd-click on SVG links as well, r=felipe
This commit is contained in:
parent
c07e279778
commit
cc35b5e550
@ -518,9 +518,10 @@ var ClickEventHandler = {
|
||||
while (node && !href) {
|
||||
if (node.nodeType == content.Node.ELEMENT_NODE) {
|
||||
href = node.getAttributeNS("http://www.w3.org/1999/xlink", "href");
|
||||
if (href)
|
||||
if (href) {
|
||||
baseURI = node.ownerDocument.baseURIObject;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
node = node.parentNode;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user