mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1235129 - "Drag-n-drop url from location bar to a <tab> opens new tab instead of loading url in that tab". r=dao
This commit is contained in:
parent
6df6a112ab
commit
ca6cddf7e2
@ -5891,7 +5891,7 @@
|
||||
bgLoad = !bgLoad;
|
||||
|
||||
let tab = this._getDragTargetTab(event, true);
|
||||
if (!tab || dropEffect == "copy") {
|
||||
if (!tab) {
|
||||
// We're adding a new tab.
|
||||
let newIndex = this._getDropIndex(event, true);
|
||||
let newTab = this.tabbrowser.loadOneTab(url, {inBackground: bgLoad, allowThirdPartyFixup: true});
|
||||
|
Loading…
Reference in New Issue
Block a user