]>
Commit | Line | Data |
---|---|---|
7093e9ba | 1 | $(function(){ |
dee46c5b | 2 | const nav = q('nav'); |
74b0b0ab | 3 | nav.classList.add('hidden-xs'); |
dee46c5b | 4 | q('#title').insertAdjacentHTML('beforebegin', '<div class="text-center visible-xs-block">Tap title to toggle menu</div>'); |
74b0b0ab | 5 | $('#title').on('click', () => nav.classList.toggle('hidden-xs')); |
7093e9ba | 6 | }); |