]>
Commit | Line | Data |
---|---|---|
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 | }); |