mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-19 20:13:32 +02:00
Fix small completion.addonType issue on FF36.
--HG-- branch : groups
This commit is contained in:
@@ -438,9 +438,9 @@ 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)),
|
||||
@@ -448,6 +448,7 @@ var Addons = Module("addons", {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
completion.extension = function extension(context, types) {
|
||||
context.title = ["Extension"];
|
||||
|
||||
Reference in New Issue
Block a user