Can ask student browser where they are in the page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
86cc2cad4a
commit
ff5cefa7ac
3 changed files with 79 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Reference in a new issue