From ca6cddf7e215db6c5552e21d8d9e39318b1bfa2d Mon Sep 17 00:00:00 2001 From: Neil Deakin Date: Thu, 28 Jan 2016 07:41:00 +0100 Subject: [PATCH] Bug 1235129 - "Drag-n-drop url from location bar to a opens new tab instead of loading url in that tab". r=dao --- browser/base/content/tabbrowser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 3224de12a1e..6d508b7a352 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -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});