MediaWiki
Common.js
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
*/ | */ | ||
var goToDogcraft = document.querySelectorAll("#p-Go_to_Dogcraft a"); | $(document).ready(function() { | ||
goToDogcraft.setAttribute("href", "//dogcraft.net"); | var goToDogcraft = document.querySelectorAll("#p-Go_to_Dogcraft a"); | ||
goToDogcraft.setAttribute("href", "//dogcraft.net"); | |||
}); |
Revision as of 15:06, 19 July 2020
/* Any JavaScript here will be loaded for all users on every page load. */
/* Navigation Popups */
/* Currently Disabled
mw.loader.load('/load.php?modules=ext.gadget.Navigation_popups');
window.popupAdminLinks = false;
window.popupActionsMenu = false;
window.popupStructure = 'lite';
window.popupSubpopups = false;
window.popupSummaryData = false;
*/
$(document).ready(function() {
var goToDogcraft = document.querySelectorAll("#p-Go_to_Dogcraft a");
goToDogcraft.setAttribute("href", "//dogcraft.net");
});
This page was last modified on 19 July 2020, at 15:06. (2 months ago)