Difference between revisions of "MediaWiki:Common.js"

From KeyWiki
Jump to navigation Jump to search
(Close a div created in the htmlet Sitenotice)
 
Line 2: Line 2:
  
 
/*WDS20160206 Close a div created in the htmlet Sitenotice */
 
/*WDS20160206 Close a div created in the htmlet Sitenotice */
 +
/* WDS20160908 Remove this code -----
 
jQuery( document ).ready( function( $ ) {
 
jQuery( document ).ready( function( $ ) {
 
   $(".wds-close").click(function(e) {
 
   $(".wds-close").click(function(e) {
Line 7: Line 8:
 
   });
 
   });
 
});
 
});
 +
----- end remove code */

Revision as of 11:42, 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 */
/* WDS20160908 Remove this code -----
jQuery( document ).ready( function( $ ) {
  $(".wds-close").click(function(e) {
    $(this).parent().hide();
  });
});
----- end remove code */