aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorTJ VanToll <tj.vantoll@gmail.com>2012-12-28 22:17:50 -0500
committerScott González <scott.gonzalez@gmail.com>2013-01-01 08:22:18 -0500
commit695358983e58c9f3d0c6b755ce89fa92adbea0ea (patch)
tree354185b9678f21573bb582305814a5e09471b4ee /ui
parent2620be85e97d638554ad1cc0fba376848abb205b (diff)
downloadjquery-ui-695358983e58c9f3d0c6b755ce89fa92adbea0ea.tar.gz
jquery-ui-695358983e58c9f3d0c6b755ce89fa92adbea0ea.zip
Selectable: Account for scrolling on the helper's initial position. Fixed #8915 - Selectable: Lasso offset issue with scrolling.
Diffstat (limited to 'ui')
-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 32152291b..8e6d03c1f 100644
--- a/ui/jquery.ui.selectable.js
+++ b/ui/jquery.ui.selectable.js
@@ -88,8 +88,8 @@ $.widget("ui.selectable", $.ui.mouse, {
$(options.appendTo).append(this.helper);
// position helper (lasso)
this.helper.css({
- "left": event.clientX,
- "top": event.clientY,
+ "left": event.pageX,
+ "top": event.pageY,
"width": 0,
"height": 0
});