MediaWiki:Common.js: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
mw.loader.load( 'ext.cite.styles' ); | mw.loader.load( 'ext.cite.styles' ); | ||
$(document).ready(function() { | |||
$('.dismissible-notice .dismiss-button').click(function() { | |||
$(this).closest('.dismissible-notice').hide(); | |||
}); | |||
}); | |||