From 52ca5251123f62c48030115fbaa58fb4827dd413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 3 Aug 2009 13:17:56 +0000 Subject: [PATCH] Position: fixed comment wording. --- ui/ui.position.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {