Can ask student browser where they are in the page
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-09-06 19:26:05 +02:00
commit ff5cefa7ac
3 changed files with 79 additions and 7 deletions

View file

@ -118,6 +118,9 @@
} else {
timer_init = null;
}
} else if (data.action && data.action == "where_are_you") {
ws.send('{"action":"myscroll", "value": "' + (window.scrollY/window.scrollMaxY) +'", "question": '+show_question+', "corrected": '+(survey.corrected==true)+'}')
} else {
show_question = null;
if (timer_cancel) {