From 97477c1e96fded7c40534afa3ad0bfc3980658e3 Mon Sep 17 00:00:00 2001 From: adeshkp Date: Sat, 25 May 2019 15:59:28 -0400 Subject: Issue #246 - Remove "enhanced" newtab code from Pale Moon --- application/palemoon/components/newtab/grid.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'application/palemoon/components/newtab/grid.js') 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; - } } } -- cgit v1.2.3