From b34764d20ba51091f1d04eb2c4f456e21b3215e9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Dec 2016 11:46:47 +0800 Subject: [PATCH] ux/FlipCounter.js --- ux/FlipCounter.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index 9f8d972bf7..8c5792594d 100644 --- a/ux/FlipCounter.js +++ b/ux/FlipCounter.js @@ -40,6 +40,7 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, { cls: 'flipcounter', }; + }, init : function () { @@ -51,9 +52,9 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, { { this.addDigit(startNum[i]); } - }; + }, - FlipCounter.prototype.addDigit = function (num) { + addDigit : function (num) { // Add separator after every 3rd digit if (this.digits.length % 3 == 0 && this.digits.length != 0) { -- 2.39.2