mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Position: fixed comment wording.
This commit is contained in:
parent
61e06a0e13
commit
52ca525112
@ -38,8 +38,8 @@ $.fn.position = function(options) {
|
||||
targetHeight = target.height();
|
||||
basePosition = { top: target.scrollTop(), left: target.scrollLeft() };
|
||||
} else if (options.of.preventDefault) {
|
||||
// while align to cursor, "at" default value "center" causes "collision:flip" not work
|
||||
options.at = "left top";
|
||||
// force left top to allow flipping
|
||||
options.at = 'left top';
|
||||
targetWidth = targetHeight = 0;
|
||||
basePosition = { top: options.of.pageY, left: options.of.pageX };
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user