From cd01d60faa1e4069abf3c4091783f266038b59e5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 6 Dec 2016 16:27:29 +0800 Subject: [PATCH] ux/FlipCounter.js --- ux/FlipCounter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2