MediaWiki: Common.js: Difference between revisions

From TC11
Jump to: navigation, search
Replaced content with "→Any JavaScript here will be loaded for all users on every page load.: $(function () { var myElement = document.getElementById('mw-twitter'); myElement.innerHTML..."
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
  var myElement = document.getElementById('mw-twitter');
  myElement.innerHTML = '<a class="twitter-timeline" href="https://twitter.com/IAPR_TC11">Tweets by IAPR_TC11</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>';
}());

Latest revision as of 17:53, 30 March 2017

/* Any JavaScript here will be loaded for all users on every page load. */