mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-19 18:37:58 +01:00
Fix initialization from XPI.
This commit is contained in:
4
common/bootstrap.js
vendored
4
common/bootstrap.js
vendored
@@ -309,7 +309,9 @@ function updateVersion() {
|
||||
// Disable automatic updates when switching to nightlies,
|
||||
// restore the default action when switching to stable.
|
||||
if (!config.lastVersion || isDev(config.lastVersion) != isDev(addon.version))
|
||||
addon.applyBackgroundUpdates = AddonManager[isDev(addon.version) ? "AUTOUPDATE_DISABLE" : "AUTOUPDATE_DEFAULT"];
|
||||
addon.applyBackgroundUpdates =
|
||||
AddonManager[isDev(addon.version) ? "AUTOUPDATE_DISABLE"
|
||||
: "AUTOUPDATE_DEFAULT"];
|
||||
}
|
||||
catch (e) {
|
||||
reportError(e);
|
||||
|
||||
Reference in New Issue
Block a user