Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
(resolution change) |
(temp removal) |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
| + | /* | ||
if(document.URL.search("mobile") == -1) | if(document.URL.search("mobile") == -1) | ||
{ | { | ||
| Line 9: | Line 10: | ||
} | } | ||
} | } | ||
| + | */ | ||
Revision as of 23:15, 6 April 2013
/* Any JavaScript here will be loaded for all users on every page load. */
/*
if(document.URL.search("mobile") == -1)
{
if(document.documentElement.clientWidth <= 735)
{
window.location.replace(document.URL + "?useformat=mobile");
}
}
*/