aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectable.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2013-10-16 20:43:09 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2013-11-13 19:20:16 +0100
commit0e192979d0401c8cfe889b116fffc43cc85bb9fa (patch)
tree150f9ecb76b8c21abf69d1f5bbdf073e27639f3b /ui/jquery.ui.selectable.js
parent89ae7641b0cb7054d0a7ea8617ae27c31e1749b0 (diff)
downloadjquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.tar.gz
jquery-ui-0e192979d0401c8cfe889b116fffc43cc85bb9fa.zip
Fix various coding style issues
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"),