mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Update all lists after loading of the settings.
This commit is contained in:
parent
101a8605b5
commit
f1a9708e41
@ -144,13 +144,10 @@
|
|||||||
Object.keys(data).forEach(function(key){
|
Object.keys(data).forEach(function(key){
|
||||||
notice("loaded setting:", key, ":", data[key]);
|
notice("loaded setting:", key, ":", data[key]);
|
||||||
settings[key] = data[key];
|
settings[key] = data[key];
|
||||||
var match = key.match(/^(.+)list$/i);
|
|
||||||
if (match){
|
|
||||||
lists.update(match[1]);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
settings.isStillDefault = false;
|
settings.isStillDefault = false;
|
||||||
logging.clearQueue();
|
logging.clearQueue();
|
||||||
|
lists.updateAll();
|
||||||
interceptWindow(window);
|
interceptWindow(window);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user