summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/newtab/grid.js
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-05-25 15:59:28 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-05-25 15:59:28 -0400
commit97477c1e96fded7c40534afa3ad0bfc3980658e3 (patch)
treee3dbf60a023bec9187cc4ba09a3372b106643581 /application/palemoon/components/newtab/grid.js
parent8db31d53674d6b9d7f15f50d06d73c5661fc0c0a (diff)
downloadUXP-97477c1e96fded7c40534afa3ad0bfc3980658e3.tar
UXP-97477c1e96fded7c40534afa3ad0bfc3980658e3.tar.gz
UXP-97477c1e96fded7c40534afa3ad0bfc3980658e3.tar.lz
UXP-97477c1e96fded7c40534afa3ad0bfc3980658e3.tar.xz
UXP-97477c1e96fded7c40534afa3ad0bfc3980658e3.zip
Issue #246 - Remove "enhanced" newtab code from Pale Moon
Diffstat (limited to 'application/palemoon/components/newtab/grid.js')
-rw-r--r--application/palemoon/components/newtab/grid.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/palemoon/components/newtab/grid.js b/application/palemoon/components/newtab/grid.js
index db3d319c3..e63ea54a6 100644
--- a/application/palemoon/components/newtab/grid.js
+++ b/application/palemoon/components/newtab/grid.js
@@ -130,13 +130,9 @@ var gGrid = {
// Create sites.
let numLinks = Math.min(links.length, cells.length);
- let hasHistoryTiles = false;
for (let i = 0; i < numLinks; i++) {
if (links[i]) {
this.createSite(links[i], cells[i]);
- if (links[i].type == "history") {
- hasHistoryTiles = true;
- }
}
}