MediaWiki: Common.js

From TC11
Jump to: navigation, search
(Created page with "Any JavaScript here will be loaded for all users on every page load.: $(function () { var myElement = document.getElementById('mw-twitter'); myElement.innerHTML = '<...")
(No difference)

Revision as of 17:24, 30 March 2017

/* 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="//platform.twitter.com/widgets.js" charset="utf-8"></script>'; 
}());