summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 11:43:52 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-15 11:43:52 +0200
commit60d29fb2861768032b831b77541e06de03b6ded2 (patch)
tree138194a1dfbf1f1bb8f1adc3088ff9afa678e3e4 /application/palemoon/base/content/browser.js
parent3c93fde763c87eaaa655a517cc93faa895415185 (diff)
downloadUXP-60d29fb2861768032b831b77541e06de03b6ded2.tar
UXP-60d29fb2861768032b831b77541e06de03b6ded2.tar.gz
UXP-60d29fb2861768032b831b77541e06de03b6ded2.tar.lz
UXP-60d29fb2861768032b831b77541e06de03b6ded2.tar.xz
UXP-60d29fb2861768032b831b77541e06de03b6ded2.zip
Bug 92737 - Part 4: Open multiple tabs when multiple items are dropped on tab
+ Follow up: Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area - browser.js: "usercontextid" (default: 0)
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r--application/palemoon/base/content/browser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index 1d1fd73ae..e05eca986 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -5125,7 +5125,8 @@ function handleDroppedLink(event, urlOrLinks, name)
let lastLocationChange = gBrowser.selectedBrowser.lastLocationChange;
- let userContextId = gBrowser.selectedBrowser.getAttribute("usercontextid");
+ let userContextId = gBrowser.selectedBrowser
+ .getAttribute("usercontextid") || 0;
let inBackground = Services.prefs.getBoolPref("browser.tabs.loadInBackground");
if (event.shiftKey)