mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Question image comparing merge
This commit is contained in:
commit
2297c37f10
3 changed files with 73 additions and 42 deletions
4
main.js
4
main.js
|
@ -31,7 +31,7 @@ const forceTestPage = true;
|
|||
const forceResultPage = false;
|
||||
const forceDefaultPage = false;
|
||||
const logElementGetting = false;
|
||||
const log = true;
|
||||
const log = false;
|
||||
|
||||
const motdShowCount = 3; /* Ammount of times to show motd */
|
||||
var motd = "";
|
||||
|
@ -943,7 +943,7 @@ function ParseRawData(data) {
|
|||
try {
|
||||
currQuestion.I = JSON.parse(currData);
|
||||
} catch (e) {
|
||||
currQuestion.I = [currData];
|
||||
currQuestion.I = currData.split(',');
|
||||
}
|
||||
}
|
||||
ExpectedIdentifier = ['?', '+'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue