1
0
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:
kkapsner 2017-09-24 10:07:33 +02:00
parent 101a8605b5
commit f1a9708e41

View File

@ -144,13 +144,10 @@
Object.keys(data).forEach(function(key){
notice("loaded setting:", key, ":", data[key]);
settings[key] = data[key];
var match = key.match(/^(.+)list$/i);
if (match){
lists.update(match[1]);
}
});
settings.isStillDefault = false;
logging.clearQueue();
lists.updateAll();
interceptWindow(window);
});
}