diff options
author | Struan Donald <struan@exo.org.uk> | 2012-06-08 12:33:24 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-06-08 12:33:24 +0100 |
commit | 27d029f2981a2ac63d07a0bab536cdd3d5fda292 (patch) | |
tree | 4f776fdee9765aec06f90a2ea4ae7f0faa3ea630 | |
parent | f5c78d71b22b317dfeae6825eb9ae49ae428eca1 (diff) |
slide_wards_down is a variable not a string
-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 4c795cd05..84637cfe0 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -325,7 +325,7 @@ $.fn.drawer = function(id, ajax) { }); }; - if ($('html.mobile').length || 'slide_wards_down' ) { + if ($('html.mobile').length || slide_wards_down ) { $('#council_wards').hide().removeClass('hidden-js').find('h2').hide(); $('#key-tool-wards').click(function(e){ e.preventDefault(); |