summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-20 17:46:33 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-20 17:46:33 +0200
commitc850e5ab026ef275d451bf122d6f81e4b0bf6a90 (patch)
tree3c448daaddb1506a340226fa1761683d41ef264f
parentbcb0bf1c1006b1bad7c7de52923dda477f11e84d (diff)
downloadUXP-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar
UXP-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar.gz
UXP-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar.lz
UXP-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar.xz
UXP-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.zip
Issue #517 Part 3b: Remove compact style pref
-rw-r--r--application/palemoon/app/profile/palemoon.js2
-rw-r--r--application/palemoon/base/content/newtab/page.js4
2 files changed, 0 insertions, 6 deletions
diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js
index b7622caa5..dc4d79ac4 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 4b7bc1b1c..30acf66e2 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 {