diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2019-05-25 11:21:55 -0400 |
---|---|---|
committer | adeshkp <adeshkp@users.noreply.github.com> | 2019-05-25 11:21:55 -0400 |
commit | 73d1087fce186a8932db294866306f10ab01059b (patch) | |
tree | 7c94740bed2f35283429a528b68fd0a9a9a7a9d5 /application/basilisk/base/content/newtab/grid.js | |
parent | 1eca3c3a6306e33efe3c18ce60e91d2a71095c56 (diff) | |
download | UXP-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/grid.js')
-rw-r--r-- | application/basilisk/base/content/newtab/grid.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/application/basilisk/base/content/newtab/grid.js b/application/basilisk/base/content/newtab/grid.js index 415a25933..726150a6c 100644 --- a/application/basilisk/base/content/newtab/grid.js +++ b/application/basilisk/base/content/newtab/grid.js @@ -141,13 +141,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; - } } } @@ -156,9 +152,6 @@ var gGrid = { this._gridDefaultContent.nextSibling.remove(); } this._node.appendChild(fragment); - - document.getElementById("topsites-heading").textContent = - hasHistoryTiles ? "Your Top Sites" : "Top Sites"; }, /** |