diff options
author | Felix Nagel <info@felixnagel.com> | 2013-11-26 00:18:25 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-11-26 00:18:25 +0100 |
commit | 5bc7fc2b1a248063b4d52086dfc32fae8601680e (patch) | |
tree | 82c176a82f64ca3c1a26648b9e3bf0d2f7282dd8 /ui/jquery.ui.selectable.js | |
parent | c20f1f8457802f90f8f06bcd2a33c340c2226b7c (diff) | |
parent | 9a5f20bc7d5218f864fb65d5d20775596065280d (diff) | |
download | jquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.tar.gz jquery-ui-5bc7fc2b1a248063b4d52086dfc32fae8601680e.zip |
Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu
Diffstat (limited to 'ui/jquery.ui.selectable.js')
-rw-r--r-- | ui/jquery.ui.selectable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index ab804a1df..7b9d7b209 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -83,7 +83,7 @@ $.widget("ui.selectable", $.ui.mouse, { var that = this, options = this.options; - this.opos = [event.pageX, event.pageY]; + this.opos = [ event.pageX, event.pageY ]; if (this.options.disabled) { return; @@ -166,7 +166,7 @@ $.widget("ui.selectable", $.ui.mouse, { if (x1 > x2) { tmp = x2; x2 = x1; x1 = tmp; } if (y1 > y2) { tmp = y2; y2 = y1; y1 = tmp; } - this.helper.css({left: x1, top: y1, width: x2-x1, height: y2-y1}); + this.helper.css({ left: x1, top: y1, width: x2 - x1, height: y2 - y1 }); this.selectees.each(function() { var selectee = $.data(this, "selectable-item"), |