diff options
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index b79976664..bf25d2f89 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -81,7 +81,7 @@ $(function(){ document.createElement('img').src = '/i/pin-green.png'; //add mobile class if small screen - if (Modernizr.mq('only screen and (max-width:48em)') && !Modernizr.mq('only screen and (width:48em)')) { + if (Modernizr.mq('only screen and (max-width:47.9375em)')) { $('html').addClass('mobile'); if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') { // Immediately go full screen map if on around page @@ -249,6 +249,7 @@ $(function(){ $('this').html("Unknown error"); } }, { + enableHighAccuracy: true, timeout: 10000 }); }); |