mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
[PALEMOON] Fix for loops in grid.js (included into newTab.js)
(SyntaxError: missing ] after element list)
This commit is contained in:
parent
bec27a534b
commit
faf3884a6b
1 changed files with 6 additions and 1 deletions
|
|
@ -109,7 +109,12 @@ let gGrid = {
|
|||
|
||||
// (Re-)initialize all cells.
|
||||
let cellElements = this.node.querySelectorAll(".newtab-cell");
|
||||
this._cells = [new Cell(this, cell) for (cell of cellElements)];
|
||||
// Tycho: this._cells = [new Cell(this, cell) for (cell of cellElements)];
|
||||
this.cells = [];
|
||||
|
||||
for (let cellItem of cellElements) {
|
||||
this.cells.push(new Cell(this, cellItem));
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue