Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
function cDependent(){ | function cDependent(){ | ||
if($('.mw-references-wrap').length === 0){ | if($('.mw-references-wrap').length === 0){ | ||
− | + | ||
} else { | } else { | ||
$('.cdependent').show(); | $('.cdependent').show(); | ||
} | } | ||
} | } |
Revision as of 14:51, September 9, 2021
/* Any JavaScript here will be loaded for all users on every page load. */
$(function() {
cDependent();
});
function cDependent(){
if($('.mw-references-wrap').length === 0){
} else {
$('.cdependent').show();
}
}