summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/newtab/grid.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2019-05-25 18:31:02 -0400
committerGitHub <noreply@github.com>2019-05-25 18:31:02 -0400
commit63d67703534b8af4b15d9fa53b3a19c6df17b263 (patch)
tree970ccd2c2cb3a6ef0a3e869b8eff06009bf39899 /application/palemoon/components/newtab/grid.js
parent104cd501aa42ccb1839be5c5b8338c83dacd97c6 (diff)
parent97477c1e96fded7c40534afa3ad0bfc3980658e3 (diff)
downloadUXP-63d67703534b8af4b15d9fa53b3a19c6df17b263.tar
UXP-63d67703534b8af4b15d9fa53b3a19c6df17b263.tar.gz
UXP-63d67703534b8af4b15d9fa53b3a19c6df17b263.tar.lz
UXP-63d67703534b8af4b15d9fa53b3a19c6df17b263.tar.xz
UXP-63d67703534b8af4b15d9fa53b3a19c6df17b263.zip
Merge pull request #1122 from adeshkp/remove-newtab-basilisk
Remove code for sponsored "enhanced" tiles in NewTab page
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;
- }
}
}