Difference between revisions of "MediaWiki:Common.js"

From KeyWiki
Jump to navigation Jump to search
(Undo revision 314276 by Waldoweb (talk))
 
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 8: Line 7:
 
   });
 
   });
 
});
 
});
----- end remove code */
 

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