Difference between revisions of "MediaWiki:Common.js"

From KeyWiki
Jump to navigation Jump to search
(Close a div created in the htmlet Sitenotice)
 
(Undo revision 314276 by Waldoweb (talk))
 
(One intermediate revision by the same user not shown)
(No difference)

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();
  });
});