MediaWiki: Common.js
From TC11
(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 = '<...") |
|||
Line 3: | Line 3: | ||
$(function () { | $(function () { | ||
var myElement = document.getElementById('mw-twitter'); | 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>'; | + | 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>'; |
}()); | }()); |
Revision as of 17:31, 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="https://platform.twitter.com/widgets.js" charset="utf-8"></script>'; }());