mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Fix for loops in LightweightThemeManager.jsm (SyntaxError: missing ] after element list)
This commit is contained in:
parent
dc2a2a22de
commit
838ded4a6f
1 changed files with 7 additions and 1 deletions
|
|
@ -386,7 +386,13 @@ this.LightweightThemeManager = {
|
|||
return;
|
||||
}
|
||||
|
||||
aCallback([new AddonWrapper(a) for each (a in this.usedThemes)]);
|
||||
// Tycho: aCallback([new AddonWrapper(a) for each (a in this.usedThemes)]);
|
||||
let result = [];
|
||||
for each(let a in this.usedThemes) {
|
||||
result.push(new AddonWrapper(a));
|
||||
}
|
||||
|
||||
aCallback(result);
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue