mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-37514 mod_quiz: fix trailing whitespace
This commit is contained in:
parent
bd166e618f
commit
83a9917314
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ M.mod_quiz.timer = {
|
||||||
update: function() {
|
update: function() {
|
||||||
var Y = M.mod_quiz.timer.Y;
|
var Y = M.mod_quiz.timer.Y;
|
||||||
var secondsleft = Math.floor((M.mod_quiz.timer.endtime - new Date().getTime())/1000);
|
var secondsleft = Math.floor((M.mod_quiz.timer.endtime - new Date().getTime())/1000);
|
||||||
|
|
||||||
// If time has expired, set the hidden form field that says time has expired and submit
|
// If time has expired, set the hidden form field that says time has expired and submit
|
||||||
if (secondsleft < 0) {
|
if (secondsleft < 0) {
|
||||||
M.mod_quiz.timer.stop(null);
|
M.mod_quiz.timer.stop(null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue