From bdd94e030af8f0ac5da252db84c3be6221bce824 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sun, 8 Nov 2020 12:32:45 +0100 Subject: [PATCH] #32 reduced i statements for css disable --- src/javascript/enhancements/cssEnhancements.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/javascript/enhancements/cssEnhancements.js b/src/javascript/enhancements/cssEnhancements.js index 1e01766..ce62948 100644 --- a/src/javascript/enhancements/cssEnhancements.js +++ b/src/javascript/enhancements/cssEnhancements.js @@ -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); - }, ".*"); } }); } \ No newline at end of file