diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-08 21:10:47 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-08 21:10:47 -0700 |
commit | 184f8d42eac7ee05828297f88cccac59f0cb5895 (patch) | |
tree | ec5365108d232f1ff975c3451eab76439d531d31 /library/jRange | |
parent | 37afc8184751556107a23910be094c80990901dd (diff) | |
download | volse-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/jRange')
-rw-r--r-- | library/jRange/jquery.range.js | 2 |
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(); } |