mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
[PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list)
This commit is contained in:
parent
df8efe59f4
commit
f3e221a6ac
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue