From fb1d2354d5efe5a48b8ba645cfcf3a0cbc763d64 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 13 Dec 2016 09:55:29 +0800 Subject: [PATCH] ux/FlipCounter.js --- ux/FlipCounter.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ux/FlipCounter.js b/ux/FlipCounter.js index fc6fe18bf7..b4e35743c7 100644 --- a/ux/FlipCounter.js +++ b/ux/FlipCounter.js @@ -230,12 +230,12 @@ Roo.extend(Roo.ux.FlipCounter.Digit, Roo.bootstrap.Component, { - this.topFrontDiv = this.el.select('.flipper_top_front',true); - this.bottomFrontDiv = this.el.select('.flipper_bottom_front',true); - this.topNumBack = this.el.select('.flipper_top_back span',true); - this.topNumFront = this.el.select('.flipper_top_front span',true); - this.bottomNumBack = this.el.select('.flipper_bottom_back span',true); - this.bottomNumFront = this.el.select('.flipper_bottom_front span',true); + this.topFrontDiv = this.el.select('.flipper_top_front',true).first(); + this.bottomFrontDiv = this.el.select('.flipper_bottom_front',true).first(); + this.topNumBack = this.el.select('.flipper_top_back span',true).first(); + this.topNumFront = this.el.select('.flipper_top_front span',true).first(); + this.bottomNumBack = this.el.select('.flipper_bottom_back span',true).first(); + this.bottomNumFront = this.el.select('.flipper_bottom_front span',true).first(); this.targetNum = this.currentNumber; this.currentNum = this.currentNumber; -- 2.39.2