projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b944359
)
ux/FlipCounter.js
author
Alan Knowles
<alan@roojs.com>
Fri, 23 Dec 2016 05:41:02 +0000
(13:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 23 Dec 2016 05:41:02 +0000
(13:41 +0800)
ux/FlipCounter.js
patch
|
blob
|
history
diff --git
a/ux/FlipCounter.js
b/ux/FlipCounter.js
index
9ef9ee7
..
61d5fa3
100644
(file)
--- a/
ux/FlipCounter.js
+++ b/
ux/FlipCounter.js
@@
-97,12
+97,12
@@
Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
digit.el.remove();
// Remove separators
digit.el.remove();
// Remove separators
- if (this.digits.length % 3 == 0)
- {
- var comma = this.el.select('li.comma:first-child');
- this.ulWidth = this.ulWidth - comma.getWidth(true);
- comma.remove();
- }
+
//
if (this.digits.length % 3 == 0)
+
//
{
+
//
var comma = this.el.select('li.comma:first-child');
+
//
this.ulWidth = this.ulWidth - comma.getWidth(true);
+
//
comma.remove();
+
//
}
// Update width to current
this.el.set( { 'min-width' : this.ulWidth});
// Update width to current
this.el.set( { 'min-width' : this.ulWidth});