diff options
Diffstat (limited to 'ui/jquery.ui.position.js')
-rw-r--r-- | ui/jquery.ui.position.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index 31920c161..bba4dd4e6 100644 --- a/ui/jquery.ui.position.js +++ b/ui/jquery.ui.position.js @@ -109,7 +109,7 @@ $.fn.position = function( options ) { // force left top to allow flipping options.at = "left top"; targetWidth = targetHeight = 0; - targetOffset = { top: options.of.pageY, left: options.of.pageX }; + targetOffset = { top: targetElem.pageY, left: targetElem.pageX }; } else { targetWidth = target.outerWidth(); targetHeight = target.outerHeight(); |