summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-09 07:28:09 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-09 07:28:09 -0400
commit2569bca9308968c778f750c3db23c08d95aa7230 (patch)
treef488f3018b262ca154ff4e1ca381fdc4c0cf92b8 /application/palemoon
parentf5304801acfd348abedd60918719b38e9fe0a76d (diff)
downloadUXP-2569bca9308968c778f750c3db23c08d95aa7230.tar
UXP-2569bca9308968c778f750c3db23c08d95aa7230.tar.gz
UXP-2569bca9308968c778f750c3db23c08d95aa7230.tar.lz
UXP-2569bca9308968c778f750c3db23c08d95aa7230.tar.xz
UXP-2569bca9308968c778f750c3db23c08d95aa7230.zip
[PALEMOON] Fix for loops in grid.js (included into newTab.js)
(SyntaxError: missing ] after element list)
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/base/content/newtab/grid.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/palemoon/base/content/newtab/grid.js b/application/palemoon/base/content/newtab/grid.js
index 37559a063..3b7dfc35f 100644
--- a/application/palemoon/base/content/newtab/grid.js
+++ b/application/palemoon/base/content/newtab/grid.js
@@ -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));
+ }
},
/**