Skip to content
Permalink
Browse files

Position: fixed comment wording.

  • Loading branch information
scottgonzalez committed Aug 3, 2009
1 parent 61e06a0 commit 52ca5251123f62c48030115fbaa58fb4827dd413
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 {

0 comments on commit 52ca525

Please sign in to comment.
You can’t perform that action at this time.