[PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list)

pull/1/head
NTD 4 years ago committed by Roy Tam
parent df8efe59f4
commit f3e221a6ac
  1. 7
      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);
},
/**

Loading…
Cancel
Save