witten
/
luminotes
Archived
1
0
Fork 0

Magic number to make Safari put links in the right location.

This commit is contained in:
Dan Helfman 2008-10-08 23:44:25 -07:00
parent 15a5d4bece
commit 5310a6916b
1 changed files with 1 additions and 1 deletions

View File

@ -2858,7 +2858,7 @@ function calculate_position( node, anchor, relative_to, always_left_align ) {
if ( anchor.firstChild ) {
try{
var child_dimensions = getElementDimensions( anchor.firstChild );
if ( child_dimensions.h > anchor_dimensions.h ) {
if ( child_dimensions.h > anchor_dimensions.h + 4 ) {
anchor = anchor.firstChild;
anchor_dimensions = child_dimensions;
}