Skip to content
Permalink
Browse files

Revert "Position: Handle sub-pixel offsets better in Firefox. Fixes #…

…6000 - Position: Sometimes positioning is off by 1px in Firefox."

This reverts commit 32264f7.
  • Loading branch information...
scottgonzalez committed Oct 22, 2010
1 parent 32264f7 commit a0847f3a08dfc259d8ba7f6ba7da16653cf15183
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.position.js
@@ -122,8 +122,8 @@ $.fn.position = function( options ) {
}

// prevent fractions (see #5280)
position.left = Math.round( position.left );
position.top = Math.round( position.top );
position.left = parseInt( position.left );
position.top = parseInt( position.top );

collisionPosition = {
left: position.left - marginLeft,

0 comments on commit a0847f3

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