Difference between revisions of "MediaWiki:Common.js"

From Utpalasia Wiki
Jump to navigation Jump to search
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: <script> if(screen.width <= 800) { window.location.replace(document.URL + "&mobileaction=to...")
(No difference)

Revision as of 19:32, 29 March 2013

/* Any JavaScript here will be loaded for all users on every page load. */

<script>
  if(screen.width <= 800)
  {
    window.location.replace(document.URL + "&mobileaction=toggle_view_mobile");
  }
</script>