MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
$(document).ready(function() {
$(document).ready(function() {
$('a[href*="Investigator:"]').each(function() {
$('a[href*="Investigator:"]').each(function() {
         if(mw.config.wgUserId === null){
         if( mw.config.get( 'wgUserId' ) === null){
           $(this).hide();
           $(this).hide();
}
}

Revision as of 19:12, 4 December 2018

$(document).ready(function() {
$('a[href*="Investigator:"]').each(function() {
        if( mw.config.get( 'wgUserId' ) === null){
           $(this).hide();
}
});


});