ux/FlipCounter.js
authorAlan Knowles <alan@roojs.com>
Mon, 12 Dec 2016 07:13:12 +0000 (15:13 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 12 Dec 2016 07:13:12 +0000 (15:13 +0800)
ux/FlipCounter.js

index e003828..472b3f1 100644 (file)
@@ -231,9 +231,9 @@ Roo.extend(Roo.ux.FlipCounter.Digit, Roo.bootstrap.Component, {
         this.bottomNumBack = this.el.select('.flipper_bottom_back span',true);
         this.bottomNumFront = this.el.select('.flipper_bottom_front span',true);
         
-        this.targetNum = currentNumber;
-        this.currentNum = currentNumber;
-        this.nextNum = currentNumber;
+        this.targetNum = this.currentNumber;
+        this.currentNum = this.currentNumber;
+        this.nextNum = this.currentNumber;
         
         this.currentlyAnimating = false;
     },