diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-03-25 09:33:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 09:33:03 +0100 |
commit | a1ad1d835b66e9300cc011244a23aea5d660baf1 (patch) | |
tree | 0956b0a08cd9b742821205535942913835ec97bc /application/basilisk/base/content/browser.js | |
parent | 834ea744c2bf56d951c0134f6043f692b28c36ef (diff) | |
parent | c9d2e9bcfb77657b3be7d368e57f43747c23ddc4 (diff) | |
download | UXP-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.js | 4 |
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": |