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