Changes

Jump to navigation Jump to search

MediaWiki:Common.js

135 bytes added, 21:17, 4 April 2013
added Android workaround for redirect
if(document.documentElement.clientWidth <= 787 && document.URL.search("mobile") == -1)
{
if(navigator.userAgent.indexOf("Android") != -1) { document.location(document.URL + "?useformat=mobile"); } else { window.location.replace(document.URL + "?useformat=mobile"); }
}

Navigation menu