Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
/*WDS20160206 Close a div created in the htmlet Sitenotice */ | /*WDS20160206 Close a div created in the htmlet Sitenotice */ | ||
− | |||
jQuery( document ).ready( function( $ ) { | jQuery( document ).ready( function( $ ) { | ||
$(".wds-close").click(function(e) { | $(".wds-close").click(function(e) { | ||
Line 8: | Line 7: | ||
}); | }); | ||
}); | }); | ||
− |
Latest revision as of 11:43, 8 September 2016
/* Any JavaScript here will be loaded for all users on every page load. */
/*WDS20160206 Close a div created in the htmlet Sitenotice */
jQuery( document ).ready( function( $ ) {
$(".wds-close").click(function(e) {
$(this).parent().hide();
});
});