MediaWiki:Mobile.js

/* Any JavaScript here will be loaded for users using the mobile site */

$(window).on('load', function{  //main page header.   var $btn = $('#mf-wikiheader #mf-wikiheader-toggle-link');   if($btn.length){      var $box = $('#mf-wikiheader');      $btn.css('display', 'inline');      if($box.innerHeight > 180){         $box.addClass('collapsed');      }      $btn.on('click', function{ $box.toggleClass('collapsed'); });  } });