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/palemoon/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/palemoon/base/content/browser.js')
-rw-r--r-- | application/palemoon/base/content/browser.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 4e753d422..1e7129272 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -1147,7 +1147,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(); // Initialize the full zoom setting. @@ -1783,7 +1783,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": @@ -3402,7 +3402,7 @@ function BrowserCustomizeToolbar() { TabsInTitlebar.allowedBy("customizing-toolbars", false); var customizeURL = "chrome://global/content/customizeToolbar.xul"; - gCustomizeSheet = getBoolPref("toolbar.customization.usesheet", false); + gCustomizeSheet = Services.prefs.getBoolPref("toolbar.customization.usesheet", false); if (gCustomizeSheet) { let sheetFrame = document.createElement("iframe"); @@ -3486,7 +3486,7 @@ function BrowserToolboxCustomizeDone(aToolboxChanged) { cmd.removeAttribute("disabled"); // make sure to re-enable click-and-hold - if (!getBoolPref("ui.click_hold_context_menus", false)) + if (!Services.prefs.getBoolPref("ui.click_hold_context_menus", false)) SetClickAndHoldHandlers(); gBrowser.selectedBrowser.focus(); |