Difference between revisions of "MediaWiki:Common.js"
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(function () { $('#main-buttons').html('<a class="button" href="#">Test</a>'); }());") |
|||
| Line 2: | Line 2: | ||
$(function () { | $(function () { | ||
| − | $('# | + | $('#main_buttons').html('<a class="button" href="#">Test</a>'); |
}()); | }()); | ||
Revision as of 11:54, 17 August 2017
/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
$('#main_buttons').html('<a class="button" href="#">Test</a>');
}());