mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:27:58 +01:00
Fix config.addon race and add guards against future breakage.
This commit is contained in:
2
common/bootstrap.js
vendored
2
common/bootstrap.js
vendored
@@ -79,7 +79,9 @@ function startup(data, reason) {
|
||||
|
||||
addonData = data;
|
||||
addon = data;
|
||||
dump("dactyl: bootstrap: pre-getAddonByID\n");
|
||||
AddonManager.getAddonByID(addon.id, function (a) {
|
||||
dump("dactyl: bootstrap: getAddonByID: " + a + "\n");
|
||||
addon = a;
|
||||
updateVersion();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user