#32 reduced i statements for css disable

This commit is contained in:
Serraniel 2020-11-08 12:32:45 +01:00
parent 99b50f4786
commit bdd94e030a
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -28,10 +28,6 @@ export function init() {
core.runAfterLoad(() => {
disableFunc(document.body);
}, ".*");
core.runAfterLocationChange(() => {
disableFunc(document.body);
}, ".*");
}
});
@ -60,10 +56,6 @@ export function init() {
core.runAfterLoad(() => {
disableFunc(document.body);
}, ".*");
core.runAfterLocationChange(() => {
disableFunc(document.body);
}, ".*");
}
});
}