mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-07-08 23:58:27 +00:00
[PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list)
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user