From: Marius Gavrilescu Date: Wed, 8 Apr 2015 17:59:11 +0000 (+0300) Subject: Merge branch 'master' into newmc X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=43a857a965517d3fcdeae0300a01c1297f9d211c;hp=f2752dd5062a025917bb88bda9ced71bc6d06875;p=gruntmaster-page.git Merge branch 'master' into newmc --- diff --git a/js/90-mobilenav.js b/js/90-mobilenav.js index cf0adfc..abba03e 100644 --- a/js/90-mobilenav.js +++ b/js/90-mobilenav.js @@ -2,7 +2,7 @@ 'use strict'; $( document ).ready(function(){ - if(document.body.clientWidth >= 768) + if(window.innerWidth >= 768) return; $('#title').before('
Tap title to toggle menu
'); $('nav').addClass('hidden');