diff --git a/mod/lesson/timer.js b/mod/lesson/timer.js index 9746deeb912..35cd8705a59 100644 --- a/mod/lesson/timer.js +++ b/mod/lesson/timer.js @@ -35,8 +35,8 @@ var dn = ""; var old = ""; - if (document.all||document.getElementById) { document.write(''); } - else if (document.layers) { document.write(''); } + if (document.all||document.getElementById) { document.write(''); } + else if (document.layers) { document.write(''); } else { old = "true"; show_clock(); } /*function leave() { // feable attempt to run a script when someone leaves a timed test early, failed so far @@ -73,7 +73,6 @@ myclock = ''; myclock += ''; - myclock += "Time remaining: "; if (hours > 0) { myclock += hours+":"; }