mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-05-25 09:13:27 +02:00
Added function lists.updateAll() to account for later loaded settings.
This commit is contained in:
parent
5576b54883
commit
97c9f1c94b
@ -123,4 +123,10 @@
|
|||||||
updateList(type);
|
updateList(type);
|
||||||
};
|
};
|
||||||
scope.update = updateList;
|
scope.update = updateList;
|
||||||
|
scope.updateAll = function updateAllLists(){
|
||||||
|
updateList("white");
|
||||||
|
updateList("ignore");
|
||||||
|
updateList("black");
|
||||||
|
updateStackList();
|
||||||
|
};
|
||||||
}());
|
}());
|
@ -33,6 +33,7 @@ Promise.all([
|
|||||||
}
|
}
|
||||||
|
|
||||||
const lists = require("./lists");
|
const lists = require("./lists");
|
||||||
|
lists.updateAll();
|
||||||
const {parseErrorStack} = require("./callingStack");
|
const {parseErrorStack} = require("./callingStack");
|
||||||
var actionsCallbacks = {
|
var actionsCallbacks = {
|
||||||
displayFullURL: function({url}){
|
displayFullURL: function({url}){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user