ux/FlipCounter.js
authorAlan Knowles <alan@roojs.com>
Fri, 23 Dec 2016 05:40:45 +0000 (13:40 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 23 Dec 2016 05:40:45 +0000 (13:40 +0800)
ux/FlipCounter.js

index 91f46d9..9ef9ee7 100644 (file)
@@ -108,9 +108,9 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
         this.el.set( { 'min-width' : this.ulWidth});
     },
     
-    addSeparator : function (num)
+    addSeparator : function (str)
     {
-        var comma = this.el.insertHtml('afterBegin','<li class="comma">,</li>',true);
+        var comma = this.el.insertHtml('afterBegin','<li class="comma">'+str+'</li>',true);
         
         // Update width