Template:Add viewport tag.js

Revision as of 13:39, 13 September 2018 by Pcoombe (talk | contribs) (Removed redirect to MediaWiki:SupportPage.js)
<html><script>
// Add viewport meta tag
(function() {
    var metaTag = document.createElement('meta');
    metaTag.name = "viewport";
    metaTag.content = "width=device-width, initial-scale=1.0";
    document.getElementsByTagName('head')[0].appendChild(metaTag);
})();
</script></html>