MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m
Reverted edits by BluePsychoRanger (talk) to last revision by JP12
m (hopefully this doesn't break anything: attempt to remove default tooltips)
m (Reverted edits by BluePsychoRanger (talk) to last revision by JP12)
Tag: Rollback
Line 4: Line 4:
$(function() {
$(function() {
   // Tooltip only Text
   // Tooltip only Text
 
   $('.masterTooltip').hover(function() {
   $('.hideDefaultTooltip').hover(function() {
       // Hide non-JS
       // Hide non-JS
       $(this).data('tipText', $(this).attr('title')).removeAttr('title');
       $(this).data('tipText', $(this).attr('title')).removeAttr('title');
    }
 
  });
  $('.masterTooltip').hover(function() {
       //Custom Tooltip
       //Custom Tooltip
       var title = $(this).attr('data-title');
       var title = $(this).attr('data-title');
Line 30: Line 27:
     });
     });
   });
   });
   // Hide the stupid empty newlines after crafting grids
   // Hide the stupid empty newlines after crafting grids
   $('.crafting + p br:only-child').parent().hide();
   $('.crafting + p br:only-child').parent().hide();
Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,563

edits

Navigation menu