Showing
1 changed file
with
1 additions
and
1 deletions
@@ -52,7 +52,7 @@ function downCount(options) { | @@ -52,7 +52,7 @@ function downCount(options) { | ||
52 | 52 | ||
53 | // set to DOM | 53 | // set to DOM |
54 | $countdownContainer.removeClass('hide'); | 54 | $countdownContainer.removeClass('hide'); |
55 | - if (hours === 0) { | 55 | + if (hours === '00') { |
56 | $countDownHours.text('剩余' + minutes + ':' + seconds); | 56 | $countDownHours.text('剩余' + minutes + ':' + seconds); |
57 | } else { | 57 | } else { |
58 | $countDownHours.text('剩余' + hours + ':' + minutes + ':' + seconds); | 58 | $countDownHours.text('剩余' + hours + ':' + minutes + ':' + seconds); |
-
Please register or login to post a comment