aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-03-01 09:58:00 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-03-01 09:58:00 +0000
commitf9db6a052fdeef9365c6e7a56d6e9e8613438e9c (patch)
treefd7c043bb35043b8f0cdf3f20aefe64623360682
parentb0d7637376d8204b11f83eaac41b13fa14290072 (diff)
parentacf90f1d126a4d8bf4d269c8241aa8631b131571 (diff)
Merge branch 'supercool' of ssh://github.com/mysociety/fixmystreet into supercool
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js2
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({