Bureaucrats, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, translator
2,563
edits
(fix my fix to fix the fixes that i fixed) |
m (hopefully this doesn't break anything: attempt to remove default tooltips) |
||
Line 4: | Line 4: | ||
$(function() { | $(function() { | ||
// Tooltip only Text | // Tooltip only Text | ||
$('. | |||
$('.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 27: | Line 30: | ||
}); | }); | ||
}); | }); | ||
// 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(); |
edits