mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 324335: Dragging link to a tab loads in a new tab instead of replacing, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=mconnor
This commit is contained in:
parent
5eb07018aa
commit
08c5bd4f41
@ -1635,7 +1635,7 @@
|
||||
if (aEvent.shiftKey)
|
||||
bgLoad = !bgLoad;
|
||||
|
||||
if (aEvent.originalTarget.localName != "tab") {
|
||||
if (document.getBindingParent(aEvent.originalTarget).localName != "tab") {
|
||||
// We're adding a new tab.
|
||||
this.loadOneTab(getShortcutOrURI(url), null, null, null, bgLoad);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user