mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Removed set/get val
This commit is contained in:
parent
ef647006f4
commit
960c5503df
1 changed files with 1 additions and 2 deletions
|
@ -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/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue