From: Marius Gavrilescu Date: Wed, 8 Apr 2015 17:33:00 +0000 (+0300) Subject: Also show menu when logo is tapped X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=345315a5450aa80466059ac58583c91323e2261b;p=plack-app-gruntmaster.git Also show menu when logo is tapped --- diff --git a/js/90-mobilenav.js b/js/90-mobilenav.js index d12e0fa..d66ebe4 100644 --- a/js/90-mobilenav.js +++ b/js/90-mobilenav.js @@ -6,7 +6,7 @@ return; $('#title').before('
Tap title to toggle menu
'); $('nav').addClass('hidden'); - $('#title').css('margin', '6px').on('click', function () { + $('#title,#logo').css('margin', '6px').on('click', function () { $('nav').toggleClass('hidden'); }); });