Content deleted Content added
|
Tags: Replaced Manual revert |
/* Any JavaScript here will be loaded for all users on every page load. */
document.addEventListener('DOMContentLoaded', function() {
var siteSub = document.getElementById('siteSub');
if (siteSub) {
siteSub.style.display = 'none'; // Hide the original text
// Create a new img element for the logo
var logoImg = document.createElement('img');
logoImg.src = 'https://grayzonewarfare.miraheze.org/wiki/File:Grayzonetext.png'; // Set the source to your logo
logoImg.style.maxWidth = '100px'; // Adjust as needed
logoImg.style.height = 'auto';
// Insert the logo before or after siteSub as preferred
siteSub.parentNode.insertBefore(logoImg, siteSub.nextSibling);
}
});
|
Revision as of 22:53, 13 March 2024
/* Any JavaScript here will be loaded for all users on every page load. */