diff --git a/js/navigation.js b/js/navigation.js index a0ee220b92..742cb2f1db 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -1223,13 +1223,23 @@ function PMA_showFullName($containerELem) { $('body').append('
'); $('#full_name_layer').mouseleave(function() { /** mouseleave */ - $(this).addClass('hide'); + $(this).addClass('hide') + .removeClass('hovering'); + }).mouseenter(function() { + /** mouseenter */ + $(this).addClass('hovering'); }); $fullNameLayer = $('#full_name_layer'); } $fullNameLayer.removeClass('hide'); $fullNameLayer.css({left: thisOffset.left, top: thisOffset.top}); $fullNameLayer.html($this.clone()); + setTimeout(function() { + if(! $fullNameLayer.hasClass('hovering')) + { + $fullNameLayer.trigger('mouseleave'); + } + }, 200); } }); } \ No newline at end of file