Fixed extension disabled when reset
This commit is contained in:
parent
04d78335c0
commit
f0f02ca65a
@ -102,7 +102,7 @@ define([
|
|||||||
eventMgr["onLoadSettings"] = function() {
|
eventMgr["onLoadSettings"] = function() {
|
||||||
logger.log("onLoadSettings");
|
logger.log("onLoadSettings");
|
||||||
_.each(extensionList, function(extension) {
|
_.each(extensionList, function(extension) {
|
||||||
utils.setInputChecked("#input-enable-extension-" + extension.extensionId, extension.config.enabled === true);
|
utils.setInputChecked("#input-enable-extension-" + extension.extensionId, extension.enabled === true);
|
||||||
var onLoadSettingsListener = extension.onLoadSettings;
|
var onLoadSettingsListener = extension.onLoadSettings;
|
||||||
onLoadSettingsListener && onLoadSettingsListener();
|
onLoadSettingsListener && onLoadSettingsListener();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user