Changes

Jump to navigation Jump to search

MediaWiki:Common.js

55 bytes added, 19:37, 6 April 2013
switch to width for testing
{
var ua = navigator.userAgent;
/*if( ua.match(/Android/i)
|| ua.match(/webOS/i)
|| ua.match(/iPhone/i)
|| ua.match(/Windows Phone/i)
|| ua.match(/Bada/i)
|| ua.match(/Symbian/i))*/ if(document.documentElement.clientWidth <= 1000)
{
window.location.replace(document.URL + "?useformat=mobile");
}
}

Navigation menu