diff options
-rw-r--r-- | ui/jquery.ui.position.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index c5c02aa1d..76b9cca21 100644 --- a/ui/jquery.ui.position.js +++ b/ui/jquery.ui.position.js @@ -227,7 +227,8 @@ $.fn.position = function( options ) { bottom = (targetOffset.top + targetHeight) - (props.top + elemHeight), feedback = { horizontal: right < 0 ? "left" : left > 0 ? "right" : "center", - vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle" + vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle", + target: target }, max = Math.max, abs = Math.abs; |