X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=ux%2FFlipCounter.js;fp=ux%2FFlipCounter.js;h=1b7d03339cecb4b84044e2892799789bf0ae0ee3;hb=155b4de888da498148d56562f70d1115c2da6f9a;hp=9751f45926e3e7916829af106ef7db5a4c92e256;hpb=389d0dae40f30ecb7a14c8c076651c60c4d96222;p=roojs1 diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index 9751f45926..1b7d03339c 100644 --- a/ux/FlipCounter.js +++ b/ux/FlipCounter.js @@ -67,9 +67,13 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, { // Add separator after every 3rd digit if (this.digits.length % 3 == 0 && this.digits.length != 0) { - this.addSeparator(); + this.addSeparator(','); } + if (this.digits.length % 3 == 0 && this.digits.length != 0) + { + this.addSeparator(); + } var digit = new Roo.ux.FlipCounter.Digit({ manager : this, currentNumber : num });