Position: fixed comment wording.

This commit is contained in:
Scott González 2009-08-03 13:17:56 +00:00
parent 61e06a0e13
commit 52ca525112

View File

@ -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 {