Issue #246 - Remove more of compact mode and newtab junk from Basilisk

This commit is contained in:
adeshkp 2019-05-25 11:21:55 -04:00 committed by Roy Tam
commit 5465d68447
10 changed files with 6 additions and 229 deletions

View file

@ -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";
},
/**