]>
Commit | Line | Data |
---|---|---|
f3f57928 MG |
1 | (function(){ |
2 | 'use strict'; | |
3 | ||
4 | $( document ).ready(function(){ | |
5 | if(document.body.clientWidth >= 768) | |
6 | return; | |
7 | $('#title').before('<div class="text-center">Tap title to toggle menu</div>'); | |
8 | $('nav').addClass('hidden'); | |
345315a5 | 9 | $('#title,#logo').css('margin', '6px').on('click', function () { |
f3f57928 MG |
10 | $('nav').toggleClass('hidden'); |
11 | }); | |
12 | }); | |
13 | })(); |