Commit de9b1396 by doszhang

dos

parent 31e795a8
...@@ -455,8 +455,8 @@ input[name=signature]::-webkit-input-placeholder { ...@@ -455,8 +455,8 @@ input[name=signature]::-webkit-input-placeholder {
} }
.countdown-num.animate { .countdown-num.animate {
animation: numScale 1s 0s linear 3 forwards; animation: numScale 1s 0s linear forwards;
-webkit-animation: numScale 1s 0s linear 3 forwards; -webkit-animation: numScale 1s 0s linear forwards;
} }
@keyframes numScale { @keyframes numScale {
......
...@@ -466,7 +466,10 @@ function countDown(callback) { ...@@ -466,7 +466,10 @@ function countDown(callback) {
} else { } else {
angle = 0; angle = 0;
$('.countdown-num').text(countdown); let numNode = $('.countdown-num').clone();
$('.countdown-num').remove();
numNode.text(countdown);
numNode.appendTo('.countdown-page');
} }
} }
countDownCtx.clearRect(0, 0, countDownCanvas.width, countDownCanvas.height); countDownCtx.clearRect(0, 0, countDownCanvas.width, countDownCanvas.height);
......
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