Removed set/get val

This commit is contained in:
mrfry 2021-12-12 13:28:32 +01:00
parent ef647006f4
commit 960c5503df

View file

@ -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/'