diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-20 17:46:33 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-20 17:46:33 +0200 |
commit | c850e5ab026ef275d451bf122d6f81e4b0bf6a90 (patch) | |
tree | 3c448daaddb1506a340226fa1761683d41ef264f /application | |
parent | bcb0bf1c1006b1bad7c7de52923dda477f11e84d (diff) | |
download | uxp-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar.gz |
Issue #517 Part 3b: Remove compact style pref
Diffstat (limited to 'application')
-rw-r--r-- | application/palemoon/app/profile/palemoon.js | 2 | ||||
-rw-r--r-- | application/palemoon/base/content/newtab/page.js | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index b7622caa50..dc4d79ac41 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1059,8 +1059,6 @@ pref("browser.newtabpage.enhanced", false); // enables showing basic placeholders for missing thumbnails pref("browser.newtabpage.thumbnailPlaceholder", false); -pref("browser.newtabpage.compact", false); - pref("privacy.usercontext.about_newtab_segregation.enabled", false); // number of columns of newtab grid diff --git a/application/palemoon/base/content/newtab/page.js b/application/palemoon/base/content/newtab/page.js index 4b7bc1b1c3..30acf66e2b 100644 --- a/application/palemoon/base/content/newtab/page.js +++ b/application/palemoon/base/content/newtab/page.js @@ -119,10 +119,6 @@ var gPage = { document.getElementById("searchSubmit").value = document.body.getAttribute("dir") == "ltr" ? "\u25B6" : "\u25C0"; - if (Services.prefs.getBoolPref("browser.newtabpage.compact")) { - document.body.classList.add("compact"); - } - if (document.hidden) { addEventListener("visibilitychange", this); } else { |