1
0
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:
Kris Maglione
2014-02-19 17:58:34 -08:00
parent 160e66430c
commit 382ada9abf
4 changed files with 34 additions and 2 deletions

4
common/bootstrap.js vendored
View File

@@ -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);