diff options
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 7b3f4fefe..269540dad 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -531,24 +531,18 @@ $.fn.drawer = function(id, ajax) { 'overlayColor': '#000000' }); - - - - - /* * heightfix the desktop .content div * * this must be kept near the end so that the * rendered height is used after any page manipulation (such as tabs) */ - if(Modernizr.mq('only screen and (min-width:48em)')) { + if (!$('html.mobile').length) { if (!($('body').hasClass('frontpage'))){ heightFix(window, '.content', -176); } } - /* * Placeholder polyfill from https://github.com/mathiasbynens/jquery-placeholder/ * |