diff options
Diffstat (limited to 'web/js/fixmystreet.js')
-rw-r--r-- | web/js/fixmystreet.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index b1a8f1889..c3de39b48 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -31,6 +31,9 @@ function form_category_onchange() { } $(function(){ + if(Modernizr.mq('only screen and (max-width:48em)')) { + $('html').addClass('mobile'); + } $('html').removeClass('no-js').addClass('js'); @@ -190,4 +193,5 @@ $(function(){ }); } -}); + $('.mobile #report-a-poblem-sidebar').hide(); +});
\ No newline at end of file |