Open main menu

Changes

MediaWiki:Common.js

135 bytes added, 20: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"); }
}