when the answer time is disabled, blank it out

This commit is contained in:
Damien Elmes 2012-03-27 11:15:31 +09:00
parent ba8108c54c
commit 4e4c22a233

View file

@ -434,6 +434,7 @@ setInterval(function () { time += 1; updateTime() }, 1000);
var updateTime = function () { var updateTime = function () {
if (!maxTime) { if (!maxTime) {
$("#time").text("");
return; return;
} }
time = Math.min(maxTime, time); time = Math.min(maxTime, time);