Difference between revisions of "MediaWiki:Common.js"
| Line 13: | Line 13: | ||
}) | }) | ||
| + | |||
| + | |||
| + | mw.loader.using('mobile.site.styles') | ||
Revision as of 16:31, 22 January 2019
/* Any JavaScript here will be loaded for all users on every page load. */
$(function(){
//Mostra o menu de ferramentas para usuários autenticados (que possuem registro)
if (mw.user.getRegistration() && mw.user.getId() > 0) {
$('#mw-navigation #p-tb').css('cssText', 'display: block !important;');
}
$("#content-collapsible-block-0").addClass("open-block");
$(".mw-parser-output > h2").first().off("click");
$("#mw-mf-page-left ul:last-child").removeClass('hlist');
})
mw.loader.using('mobile.site.styles')