projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3ba65
)
ux/FlipCounter.js
author
Alan Knowles
<alan@roojs.com>
Fri, 23 Dec 2016 06:27:34 +0000
(14:27 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 23 Dec 2016 06:27:34 +0000
(14:27 +0800)
ux/FlipCounter.js
patch
|
blob
|
history
diff --git
a/ux/FlipCounter.js
b/ux/FlipCounter.js
index
ca2aa0b
..
23da8ac
100644
(file)
--- a/
ux/FlipCounter.js
+++ b/
ux/FlipCounter.js
@@
-124,6
+124,8
@@
Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
var numStr = (1.0*num).toFixed(this.decimal);
this.currentNumber = num;
+
+ var dl = this.digits.length + (this.decimal > 0 ? 1 : 0);
// Change the number of digits displayed if needed
if (numStr.length != this.digits.length)
{