MediaWiki:Common.js: Difference between revisions

mNo edit summary
mNo edit summary
Line 123: Line 123:
         left: e.pageX + 10,
         left: e.pageX + 10,
         position: 'absolute'
         position: 'absolute'
       }).fadeIn('fast');
       }).fadeIn('normal');
     }
     }
   }).on('mouseout', function() {
   }).on('mouseout', function() {
     var $this = $(this);
     var $this = $(this);
     var tooltipText = $('.editorial-notation-tooltip-box').text(); // Get text from the tooltip
     var tooltipText = $('.editorial-notation-tooltip-box').text(); // Get text from the tooltip
     $('.editorial-notation-tooltip-box').fadeOut('fast', function() {
     $('.editorial-notation-tooltip-box').fadeOut('normal', function() {
       $(this).remove();
       $(this).remove();
       $this.find('span').attr('title', tooltipText); // Add the title back to the inner span
       $this.find('span').attr('title', tooltipText); // Add the title back to the inner span