diff options
-rw-r--r-- | toolkit/mozapps/extensions/LightweightThemeManager.jsm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/toolkit/mozapps/extensions/LightweightThemeManager.jsm b/toolkit/mozapps/extensions/LightweightThemeManager.jsm index 66761efe2..5856bfa91 100644 --- a/toolkit/mozapps/extensions/LightweightThemeManager.jsm +++ b/toolkit/mozapps/extensions/LightweightThemeManager.jsm @@ -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); }, }; |