]>
Commit | Line | Data |
---|---|---|
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'); | |
65ef5465 | 6 | $('#title,#logo').on('click', () => $('nav')[0].classList.toggle('hidden')); |
7093e9ba | 7 | }); |