Difference between revisions of "MediaWiki:Vector.js"

From Diversity Conference
Jump to: navigation, search
(From wikiconferenceusa.org)
 
(No difference)

Latest revision as of 03:06, 21 May 2016

/* For mobile devices */

var viewPortTag=document.createElement('meta');
viewPortTag.id="viewport";
viewPortTag.name = "viewport";
viewPortTag.content = "width=device-width; initial-scale=1; maximum-scale=1;";
document.getElementsByTagName('head')[0].appendChild(viewPortTag);