aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorfriendica <redmatrix@redmatrix.me>2015-04-08 21:10:47 -0700
committerfriendica <redmatrix@redmatrix.me>2015-04-08 21:10:47 -0700
commit184f8d42eac7ee05828297f88cccac59f0cb5895 (patch)
treeec5365108d232f1ff975c3451eab76439d531d31 /library
parent37afc8184751556107a23910be094c80990901dd (diff)
downloadvolse-hubzilla-184f8d42eac7ee05828297f88cccac59f0cb5895.tar.gz
volse-hubzilla-184f8d42eac7ee05828297f88cccac59f0cb5895.tar.bz2
volse-hubzilla-184f8d42eac7ee05828297f88cccac59f0cb5895.zip
jRange: width is innacurate depending on box model, padding and margins. Using css width instead.
Diffstat (limited to 'library')
-rw-r--r--library/jRange/jquery.range.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/jRange/jquery.range.js b/library/jRange/jquery.range.js
index 3e7f99ed9..4a35a380f 100644
--- a/library/jRange/jquery.range.js
+++ b/library/jRange/jquery.range.js
@@ -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();
}