From 7e7678364b9e89337612d7879e7f5cbb0792b35b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 9 Apr 2015 10:53:37 +0200 Subject: make jRange behave again --- library/jRange/jquery.range.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library') diff --git a/library/jRange/jquery.range.js b/library/jRange/jquery.range.js index 4a35a380f..860b74511 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.css('width', this.options.width || this.inputNode.width()); + this.domNode.width(this.options.width || this.inputNode.width()); this.inputNode.hide(); } @@ -332,4 +332,4 @@ return result || this; }; -})(jQuery, window, document); \ No newline at end of file +})(jQuery, window, document); -- cgit v1.2.3