summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/newtab/customize.js
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-05-25 11:21:55 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-05-25 11:21:55 -0400
commit73d1087fce186a8932db294866306f10ab01059b (patch)
tree7c94740bed2f35283429a528b68fd0a9a9a7a9d5 /application/basilisk/base/content/newtab/customize.js
parent1eca3c3a6306e33efe3c18ce60e91d2a71095c56 (diff)
downloadUXP-73d1087fce186a8932db294866306f10ab01059b.tar
UXP-73d1087fce186a8932db294866306f10ab01059b.tar.gz
UXP-73d1087fce186a8932db294866306f10ab01059b.tar.lz
UXP-73d1087fce186a8932db294866306f10ab01059b.tar.xz
UXP-73d1087fce186a8932db294866306f10ab01059b.zip
Issue #246 - Remove more of compact mode and newtab junk from Basilisk
Diffstat (limited to 'application/basilisk/base/content/newtab/customize.js')
-rw-r--r--application/basilisk/base/content/newtab/customize.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/application/basilisk/base/content/newtab/customize.js b/application/basilisk/base/content/newtab/customize.js
index 39724fa91..bc4903f6c 100644
--- a/application/basilisk/base/content/newtab/customize.js
+++ b/application/basilisk/base/content/newtab/customize.js
@@ -9,7 +9,6 @@ var gCustomize = {
"blank",
"button",
"classic",
- "enhanced",
"panel",
"overlay",
"learn"
@@ -83,13 +82,10 @@ var gCustomize = {
}
switch (event.currentTarget.id) {
case "newtab-customize-blank":
- sendAsyncMessage("NewTab:Customize", {enabled: false, enhanced: false});
+ sendAsyncMessage("NewTab:Customize", {enabled: false});
break;
case "newtab-customize-classic":
- sendAsyncMessage("NewTab:Customize", {enabled: true, enhanced: false});
- break;
- case "newtab-customize-enhanced":
- sendAsyncMessage("NewTab:Customize", {enabled: true, enhanced: !gAllPages.enhanced});
+ sendAsyncMessage("NewTab:Customize", {enabled: true});
break;
case "newtab-customize-learn":
this.showLearn();