ux/FlipCounter.js
authorAlan Knowles <alan@roojs.com>
Tue, 13 Dec 2016 01:56:28 +0000 (09:56 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Dec 2016 01:56:28 +0000 (09:56 +0800)
ux/FlipCounter.js

index 19c077d..6df2667 100644 (file)
@@ -87,7 +87,7 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
     {
         var digit = this.digits.splice(this.digits.length-1, 1)[0];
         
-        this.ulWidth = this.ulWidth - digit.el.outerWidth(true);
+        this.ulWidth = this.ulWidth - digit.el.getWidth(true);
         digit.li.remove();
         
         // Remove separators