summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-05 07:26:47 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-05 07:26:47 -0400
commita0bfb651b6ac78bc5f391e794cce6bce5622d385 (patch)
tree4cfedde2a811ae7f79482a9c9afcaac67842be9f /application/palemoon
parentfef521cb6ace0d958bcbf27f3253c25fedc57188 (diff)
downloadUXP-a0bfb651b6ac78bc5f391e794cce6bce5622d385.tar
UXP-a0bfb651b6ac78bc5f391e794cce6bce5622d385.tar.gz
UXP-a0bfb651b6ac78bc5f391e794cce6bce5622d385.tar.lz
UXP-a0bfb651b6ac78bc5f391e794cce6bce5622d385.tar.xz
UXP-a0bfb651b6ac78bc5f391e794cce6bce5622d385.zip
[PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list)
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/base/content/browser-thumbnails.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/palemoon/base/content/browser-thumbnails.js b/application/palemoon/base/content/browser-thumbnails.js
index dbe33e3ed..d6fe25231 100644
--- a/application/palemoon/base/content/browser-thumbnails.js
+++ b/application/palemoon/base/content/browser-thumbnails.js
@@ -92,7 +92,12 @@ let gBrowserThumbnails = {
filterForThumbnailExpiration:
function Thumbnails_filterForThumbnailExpiration(aCallback) {
- aCallback([browser.currentURI.spec for (browser of gBrowser.browsers)]);
+ // Tycho: aCallback([browser.currentURI.spec for (browser of gBrowser.browsers)]);
+ let result = [];
+ for (let browser of gBrowser.browsers) {
+ result.push(browser.currentURL.spec);
+ }
+ aCallback(result);
},
/**