aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2009-01-27 06:00:41 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2009-01-27 06:00:41 +0000
commit73cf6e58b50e27d331447095d2d2e5c1d7f48a2a (patch)
treed60715bd1887beefd2988f6f0cb9c7acca4e35ac /ui
parent279f6599a4f183c871fa845489c8c6727a8f3aa2 (diff)
downloadjquery-ui-73cf6e58b50e27d331447095d2d2e5c1d7f48a2a.tar.gz
jquery-ui-73cf6e58b50e27d331447095d2d2e5c1d7f48a2a.zip
Resizable documentScroll reference
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.resizable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index b4d7d74d3..28a5583df 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -224,7 +224,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
if (el.is('.ui-draggable') || (/absolute/).test(el.css('position'))) {
// sOffset decides if document scrollOffset will be added to the top/left of the resizable element
var sOffset = $.browser.msie && !o.containment && (/absolute/).test(el.css('position')) && !(/relative/).test(el.parent().css('position'));
- var dscrollt = sOffset ? o.documentScroll.top : 0, dscrolll = sOffset ? o.documentScroll.left : 0;
+ var dscrollt = sOffset ? this.documentScroll.top : 0, dscrolll = sOffset ? this.documentScroll.left : 0;
el.css({ position: 'absolute', top: (iniPos.top + dscrollt), left: (iniPos.left + dscrolll) });
}