summaryrefslogtreecommitdiff
path: root/application
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 /application
parentbcb0bf1c1006b1bad7c7de52923dda477f11e84d (diff)
downloaduxp-c850e5ab026ef275d451bf122d6f81e4b0bf6a90.tar.gz
Issue #517 Part 3b: Remove compact style pref
Diffstat (limited to 'application')
-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 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 {