From: Scott González Date: Mon, 3 Aug 2009 13:17:56 +0000 (+0000) Subject: Position: fixed comment wording. X-Git-Tag: 1.8a1~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=52ca5251123f62c48030115fbaa58fb4827dd413;p=jquery-ui.git Position: fixed comment wording. --- diff --git a/ui/ui.position.js b/ui/ui.position.js index 587c0ce0c..6c5250959 100644 --- a/ui/ui.position.js +++ b/ui/ui.position.js @@ -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 {