Commit 657090bd by doszhang

dos

parent 7c415f4c
...@@ -458,7 +458,7 @@ function countDown(callback) { ...@@ -458,7 +458,7 @@ function countDown(callback) {
timer = setInterval(function () { timer = setInterval(function () {
$('.countdown-num').text(countdown).addClass('animate'); $('.countdown-num').text(countdown).addClass('animate');
angle = ((angle * 10) + 36) / 10; angle = ((angle * 10) + 36) / 10;
if (angle >= 360) { if (angle > 360) {
countdown--; countdown--;
if (countdown == 0) { if (countdown == 0) {
clearInterval(timer); clearInterval(timer);
......
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