Changes

Jump to navigation Jump to search

MediaWiki:Common.js

1 byte added, 15:35, 4 April 2013
slight adjustment to max width conditional to match CSS media query (for consistency)
/* Any JavaScript here will be loaded for all users on every page load. */
if(document.documentElement.clientWidth < 788 = 787 && document.URL.search("mobile") == -1)
{
/*alert("Hi!");*/
window.location.replace(document.URL + "?useformat=mobile");
}

Navigation menu