Open main menu

Changes

MediaWiki:Common.js

295 bytes removed, 20:44, 6 April 2013
resolution change
if(document.URL.search("mobile") == -1)
{
/* unused, but left in for documentation
var ua = navigator.userAgent;
if( ua.match(/Android/i)
|| ua.match(/webOS/i)
|| ua.match(/iPhone/i)
|| ua.match(/iPod/i)
|| ua.match(/BlackBerry/i)
|| ua.match(/Windows Phone/i)
|| ua.match(/Bada/i)
|| ua.match(/Symbian/i)) */
if(document.documentElement.clientWidth < 768736)
{
window.location.replace(document.URL + "?useformat=mobile");
}
}