1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-05-29 17:38:07 +02:00

Added function lists.updateAll() to account for later loaded settings.

This commit is contained in:
kkapsner 2017-07-07 08:46:58 +02:00
parent 5576b54883
commit 97c9f1c94b
2 changed files with 7 additions and 0 deletions

View File

@ -123,4 +123,10 @@
updateList(type);
};
scope.update = updateList;
scope.updateAll = function updateAllLists(){
updateList("white");
updateList("ignore");
updateList("black");
updateStackList();
};
}());

View File

@ -33,6 +33,7 @@ Promise.all([
}
const lists = require("./lists");
lists.updateAll();
const {parseErrorStack} = require("./callingStack");
var actionsCallbacks = {
displayFullURL: function({url}){