jRange: width is innacurate depending on box model, padding and margins. Using css width instead.
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
console.log('jRange : no width found, returning');
|
||||
return;
|
||||
} else {
|
||||
this.domNode.width(this.options.width || this.inputNode.width());
|
||||
this.domNode.css('width', this.options.width || this.inputNode.width());
|
||||
this.inputNode.hide();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user