diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/fixmystreet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index 7967e3d7d..d88d66db4 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -70,7 +70,7 @@ function tabs(elem) $(function(){ - if(Modernizr.mq('only screen and (max-width:48em)')) { + if(Modernizr.mq('only screen and (max-width:47em)')) { $('html').addClass('mobile'); } @@ -288,7 +288,7 @@ $(function(){ */ $('.mobile').on('click', '#nav-link', function(e){ e.preventDefault(); - var foo = $('.wrapper').height() - $('main-nav').height(); + var foo = $('.wrapper').height() - 500; $('html, body').animate({scrollTop:foo}, 1000); }); });
\ No newline at end of file |