From 05a865228f5141ef10c0baeaf989abf51dae788a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 23 Dec 2016 14:27:34 +0800 Subject: [PATCH] ux/FlipCounter.js --- ux/FlipCounter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index ca2aa0bc9b..23da8ac22e 100644 --- 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) { -- 2.39.2