aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectable.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-16 12:25:21 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-16 12:25:21 +0100
commit43772f3e5bb531d917bec884bfbd0be196110fd8 (patch)
treed60d96a569eb47f901b8a800a8fc0f0f95e6c70e /ui/jquery.ui.selectable.js
parent0be76bbcfd7a2092aca1b4b01b90dab4e4fe00da (diff)
parent9fd0e86820dcea532d5357e0b814653746d62889 (diff)
downloadjquery-ui-43772f3e5bb531d917bec884bfbd0be196110fd8.tar.gz
jquery-ui-43772f3e5bb531d917bec884bfbd0be196110fd8.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.selectable.js')
-rw-r--r--ui/jquery.ui.selectable.js4
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"),