mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 17:14:12 +01:00
Fix small completion.addonType issue on FF36.
--HG-- branch : groups
This commit is contained in:
@@ -438,14 +438,15 @@ var Addons = Module("addons", {
|
||||
}
|
||||
|
||||
context.generate = function generate() {
|
||||
context.incomplete = true;
|
||||
update(base);
|
||||
if (AddonManager.getAllAddons)
|
||||
if (AddonManager.getAllAddons) {
|
||||
context.incomplete = true;
|
||||
AddonManager.getAllAddons(function (addons) {
|
||||
context.incomplete = false;
|
||||
update(array.uniq(base.concat(addons.map(function (a) a.type)),
|
||||
true));
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user