#32 reduced i statements for css disable
This commit is contained in:
parent
99b50f4786
commit
bdd94e030a
|
@ -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);
|
||||
}, ".*");
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue