aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-27 15:31:22 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-03-27 15:31:22 +0100
commit4c48e716dfd815764f730a58cf2ebd3cb22bb67f (patch)
tree5fe628627fa003d3862360a85a02427f97f489b7
parent6ae4525d9bc6536975c4e0a8fd11a25def29a090 (diff)
Only hide footer on map pages.
-rw-r--r--web/cobrands/bromley/fixmystreet.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/cobrands/bromley/fixmystreet.js b/web/cobrands/bromley/fixmystreet.js
index c3dcd866a..051f46c64 100644
--- a/web/cobrands/bromley/fixmystreet.js
+++ b/web/cobrands/bromley/fixmystreet.js
@@ -82,7 +82,6 @@ $(function(){
$html.removeClass('no-js').addClass('js');
-
// Preload the new report pin
document.createElement('img').src = '/i/pin-green.png';
@@ -139,8 +138,8 @@ $(function(){
width: '100%', height: map_height,
margin: 0
});
- $('#bromley-footer').hide();
if (typeof fixmystreet !== 'undefined') {
+ $('#bromley-footer').hide();
fixmystreet.state_map = 'full';
}
if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') {