mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 00:44:12 +01:00
Fix assertion in addons.jsm.
This commit is contained in:
@@ -110,7 +110,7 @@ var actions = {
|
||||
name: "extr[ehash]",
|
||||
description: "Reload an extension",
|
||||
action: function (addon) {
|
||||
dactyl.assert(dactyl.has("Gecko2"), "This command is not useful in this version of " + config.host);
|
||||
util.assert(util.haveGecko("2b"), "This command is not useful in this version of " + config.host);
|
||||
util.timeout(function () {
|
||||
addon.userDisabled = true;
|
||||
addon.userDisabled = false;
|
||||
@@ -521,7 +521,7 @@ else
|
||||
});
|
||||
},
|
||||
getInstallForURL: function (url, callback, mimetype) {
|
||||
dactyl.assert(false, "Install by URL not implemented");
|
||||
util.assert(false, "Install by URL not implemented");
|
||||
},
|
||||
observers: [],
|
||||
addAddonListener: function (listener) {
|
||||
|
||||
Reference in New Issue
Block a user