From: Alan Knowles Date: Tue, 6 Dec 2016 08:27:29 +0000 (+0800) Subject: ux/FlipCounter.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=cd01d60faa1e4069abf3c4091783f266038b59e5 ux/FlipCounter.js --- diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index 38e1161677..891a65d005 100644 --- a/ux/FlipCounter.js +++ b/ux/FlipCounter.js @@ -112,8 +112,8 @@ Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, { // Remove separators if (this.digits.length % 3 == 0) { - var comma = this.ul.find('li.comma:first-child'); - this.ulWidth = this.ulWidth - comma.outerWidth(true); + var comma = this.el.select('li.comma:first-child'); + this.ulWidth = this.ulWidth - comma.getWidth(true); comma.remove(); }