Commit 7e0767c1 by doszhang

dos

parent 22bff923
...@@ -333,9 +333,13 @@ function countDown(callback) { ...@@ -333,9 +333,13 @@ function countDown(callback) {
if (angle >= 0) { if (angle >= 0) {
countdown--; countdown--;
clearInterval(timer); if (countdown == 0) {
$('.countdown-num').text(countdown); clearInterval(timer);
callback(); callback();
} else {
angle = -360;
$('.countdown-num').text(countdown);
}
} }
}, 10); }, 10);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment