Fix mobilenav and modal
[plack-app-gruntmaster.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').on('click', () => nav.classList.toggle('hidden-xs'));
6 });
This page took 0.022136 seconds and 4 git commands to generate.