Magic number to make Safari put links in the right location.
This commit is contained in:
parent
15a5d4bece
commit
5310a6916b
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue