Difference between revisions of "MediaWiki:Common.js"

From UniWiki
Jump to: navigation, search
(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>');
+
   $('#main_buttons').html('<a class="button" href="#">Test</a>');
 
}());
 
}());

Revision as of 10: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>');
}());