16,975
edits
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
if ($(this).parent().css('margin-top') < '15px') | if ($(this).parent().css('margin-top') < '15px') | ||
$(this).parent().css('margin', '15px auto'); | $(this).parent().css('margin', '15px auto'); | ||
}); | |||
/* Remove mobile title tags on desktop main page */ | |||
$(function() { | |||
if (mw.config.get('wgTitle') === 'Main Page') { | |||
$('div[id^="mf-"]').each(function(i, obj) { | |||
$(this).removeAttr('title'); | |||
}); | |||
} | |||
}); | }); | ||