]> iEval git - gruntmaster-page.git/blame - js/90-mobilenav.js
Depend on compiler.jar for JS compilation, move js into static/js/
[gruntmaster-page.git] / js / 90-mobilenav.js
CommitLineData
7093e9ba
MG
1$(function(){
2 if(window.innerWidth >= 768)
3 return;
4 $('#title')[0].insertAdjacentHTML('beforebegin', '<div class="text-center">Tap title to toggle menu</div>');
5 $('nav')[0].classList.add('hidden');
6 $('#title').on('click', function () {
7 $('nav')[0].classList.toggle('hidden');
f3f57928 8 });
7093e9ba 9});
This page took 0.020716 seconds and 4 git commands to generate.