Commit 7e0767c1 by doszhang

dos

parent 22bff923
......@@ -333,9 +333,13 @@ function countDown(callback) {
if (angle >= 0) {
countdown--;
clearInterval(timer);
$('.countdown-num').text(countdown);
callback();
if (countdown == 0) {
clearInterval(timer);
callback();
} else {
angle = -360;
$('.countdown-num').text(countdown);
}
}
}, 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