MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
// Wait for the DOM to be ready | // Wait for the DOM to be ready | ||
document. | $(document).ready(function() { | ||
// Change the background color of the body | // Change the background color of the body | ||
$('#mw-content-text').css('background-color', 'lightblue'); | |||
}); | }); | ||
Revision as of 11:07, 8 January 2024
// Wait for the DOM to be ready
$(document).ready(function() {
// Change the background color of the body
$('#mw-content-text').css('background-color', 'lightblue');
});