diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 10:00:39 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 10:00:39 +0000 |
commit | 45a9ac82101fd9f26a0206df5fa2846b0b2cad5b (patch) | |
tree | aa2a02bfe575a3654166916fd4ad4a4af463848a | |
parent | f9db6a052fdeef9365c6e7a56d6e9e8613438e9c (diff) |
Fix media query discrepancy that caused ipad portrait to show mobile version
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index a78e1a241..f1c48c9e0 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -78,7 +78,7 @@ $(function(){ $('html').removeClass('no-js').addClass('js'); //add mobile class if small screen - if(Modernizr.mq('only screen and (max-width:48em)')) { + if(!Modernizr.mq('only screen and (min-width:48em)')) { $('html').addClass('mobile'); if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') { // Immediately go full screen map if on around page |