diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 09:58:00 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-03-01 09:58:00 +0000 |
commit | f9db6a052fdeef9365c6e7a56d6e9e8613438e9c (patch) | |
tree | fd7c043bb35043b8f0cdf3f20aefe64623360682 | |
parent | b0d7637376d8204b11f83eaac41b13fa14290072 (diff) | |
parent | acf90f1d126a4d8bf4d269c8241aa8631b131571 (diff) |
Merge branch 'supercool' of ssh://github.com/mysociety/fixmystreet into supercool
-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 ba684610c..a78e1a241 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -80,7 +80,7 @@ $(function(){ //add mobile class if small screen if(Modernizr.mq('only screen and (max-width:48em)')) { $('html').addClass('mobile'); - if (fixmystreet.page == 'around') { + if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') { // Immediately go full screen map if on around page $('#site-header').hide(); $('#map_box').prependTo('.wrapper').css({ |