summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@wolfbeast.com>2019-03-25 09:33:03 +0100
committerGitHub <noreply@github.com>2019-03-25 09:33:03 +0100
commita1ad1d835b66e9300cc011244a23aea5d660baf1 (patch)
tree0956b0a08cd9b742821205535942913835ec97bc /application/basilisk/base/content/browser.js
parent834ea744c2bf56d951c0134f6043f692b28c36ef (diff)
parentc9d2e9bcfb77657b3be7d368e57f43747c23ddc4 (diff)
downloadUXP-a1ad1d835b66e9300cc011244a23aea5d660baf1.tar
UXP-a1ad1d835b66e9300cc011244a23aea5d660baf1.tar.gz
UXP-a1ad1d835b66e9300cc011244a23aea5d660baf1.tar.lz
UXP-a1ad1d835b66e9300cc011244a23aea5d660baf1.tar.xz
UXP-a1ad1d835b66e9300cc011244a23aea5d660baf1.zip
Merge pull request #1023 from Ascrod/default-pref
Remove obsolete getPref helpers.
Diffstat (limited to 'application/basilisk/base/content/browser.js')
-rw-r--r--application/basilisk/base/content/browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/basilisk/base/content/browser.js b/application/basilisk/base/content/browser.js
index 336670fa0..e3a5393a0 100644
--- a/application/basilisk/base/content/browser.js
+++ b/application/basilisk/base/content/browser.js
@@ -1277,7 +1277,7 @@ var gBrowserInit = {
// Setup click-and-hold gestures access to the session history
// menus if global click-and-hold isn't turned on
- if (!getBoolPref("ui.click_hold_context_menus", false))
+ if (!Services.prefs.getBoolPref("ui.click_hold_context_menus", false))
SetClickAndHoldHandlers();
let NP = {};
@@ -1868,7 +1868,7 @@ function BrowserGoHome(aEvent) {
case "tabshifted":
case "tab":
urls = homePage.split("|");
- var loadInBackground = getBoolPref("browser.tabs.loadBookmarksInBackground", false);
+ var loadInBackground = Services.prefs.getBoolPref("browser.tabs.loadBookmarksInBackground", false);
gBrowser.loadTabs(urls, loadInBackground);
break;
case "window":