From 5310a6916bea1e6ca4353822b31747f2a11501a3 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 8 Oct 2008 23:44:25 -0700 Subject: [PATCH] Magic number to make Safari put links in the right location. --- static/js/Wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 06b6fe8..8824442 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -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; }