From 960c5503df0ad8530137acf1ed75ac26df5672de Mon Sep 17 00:00:00 2001 From: mrfry Date: Sun, 12 Dec 2021 13:28:32 +0100 Subject: [PATCH] Removed set/get val --- stable.user.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stable.user.js b/stable.user.js index 2136547..a888183 100755 --- a/stable.user.js +++ b/stable.user.js @@ -116,7 +116,6 @@ // ------------------------------------------------------------------------------ // forcing pages for testing. unless you test, do not set these to true! const isDevel = false - setVal('ISDEVEL', isDevel) const forcedMatchString = isDevel ? '' : '' // only one of these should be true for testing const forceTestPage = isDevel && false @@ -146,7 +145,7 @@ var elementUpdaterInterval = -1 const overlayElemUpdateInterval = 2 // seconds - if (getVal('ISDEVEL')) { + if (isDevel) { log('Moodle script running in developement mode!') infoExpireTime = 1 serverAdress = 'http://localhost:8080/'