]> iEval git - plack-app-gruntmaster.git/blame_incremental - js/90-mobilenav.js
Merge branch 'master' into newmc
[plack-app-gruntmaster.git] / js / 90-mobilenav.js
... / ...
CommitLineData
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,#logo').on('click', () => $('nav')[0].classList.toggle('hidden'));
7});
This page took 0.022522 seconds and 4 git commands to generate.