]> iEval git - plack-app-gruntmaster.git/blobdiff - js/90-mobilenav.js
Merge branch 'master' into newmc
[plack-app-gruntmaster.git] / js / 90-mobilenav.js
index 8577ecc6a2e3f411328f2eb9c990e91382f09650..f8c9628ca824677e698c6599116fa71f16da4881 100644 (file)
@@ -3,7 +3,5 @@ $(function(){
                return;
        $('#title')[0].insertAdjacentHTML('beforebegin', '<div class="text-center">Tap title to toggle menu</div>');
        $('nav')[0].classList.add('hidden');
-       $('#title').on('click', function () {
-               $('nav')[0].classList.toggle('hidden');
-       });
+       $('#title,#logo').on('click', () => $('nav')[0].classList.toggle('hidden'));
 });
This page took 0.016907 seconds and 4 git commands to generate.