compress getContainerWidth(), add missing semicolon.
This commit is contained in:
parent
55a257ddba
commit
1fff4788eb
@ -609,13 +609,11 @@
|
|||||||
for (var i = 0; i < attrs.length; i++) {
|
for (var i = 0; i < attrs.length; i++) {
|
||||||
var matches = attrs[i].replace(/\s/g,'')
|
var matches = attrs[i].replace(/\s/g,'')
|
||||||
.match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/);
|
.match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/);
|
||||||
if(matches == null || matches.length < 1)
|
if(matches != null && matches.length >= 1)
|
||||||
continue;
|
|
||||||
return matches[1];
|
return matches[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.opts.element.width();
|
return this.opts.element.width();
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
function SingleSelect2() {
|
function SingleSelect2() {
|
||||||
|
Loading…
Reference in New Issue
Block a user