]> iEval git - plack-app-gruntmaster.git/blobdiff - js/90-mobilenav.js
Make logo smaller once more
[plack-app-gruntmaster.git] / js / 90-mobilenav.js
index cf0adfcdfc047b3dd25ac1814b0e85fecb407a87..abba03e4fd3be93830be82d3d9b081513680f5f2 100644 (file)
@@ -2,7 +2,7 @@
        'use strict';
 
        $( document ).ready(function(){
-               if(document.body.clientWidth >= 768)
+               if(window.innerWidth >= 768)
                        return;
                $('#title').before('<div class="text-center">Tap title to toggle menu</div>');
                $('nav').addClass('hidden');
This page took 0.017857 seconds and 4 git commands to generate.