]>
Commit | Line | Data |
---|---|---|
7093e9ba | 1 | $(function(){ |
74b0b0ab MG |
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>'); | |
0ffa7a22 | 5 | $('#title,#logo').on('click', () => nav.classList.toggle('hidden-xs')); |
7093e9ba | 6 | }); |