[Pkg-mozext-commits] [greasemonkey] 08/62: Update browser.js
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 22:10:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 517721c1cc39819ada5ea574086d59acf2b1f019
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date: Sun Aug 9 17:17:42 2015 +0200
Update browser.js
---
content/browser.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/content/browser.js b/content/browser.js
index 1b71668..4d1b770 100644
--- a/content/browser.js
+++ b/content/browser.js
@@ -80,7 +80,9 @@ GM_BrowserUI.openInTab = function(aMessage) {
var getBool = Services.prefs.getBoolPref;
var prefBg = getBool('browser.tabs.loadInBackground');
- prefBg |= aMessage.data.inBackground;
+ prefBg = (aMessage.data.inBackground === null)
+ ? prefBg
+ : aMessage.data.inBackground;
if (scriptTabIsCurrentTab && !prefBg) tabBrowser.selectedTab = newTab;
var prefRel = getBool('browser.tabs.insertRelatedAfterCurrent');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list