]> iEval git - gruntmaster-page.git/blob - js/90-mobilenav.js
9efe8fccb7b968b8759ab0d2cb78f50d51152771
[gruntmaster-page.git] / js / 90-mobilenav.js
1 $(function(){
2 const nav = $('nav')[0];
3 nav.classList.add('hidden-xs');
4 $('#title')[0].insertAdjacentHTML('beforebegin', '<div class="text-center visible-xs-block">Tap title to toggle menu</div>');
5 $('#title,#logo').on('click', () => nav.classList.toggle('hidden-xs'));
6 });
This page took 0.040443 seconds and 4 git commands to generate.