aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-11-07 12:06:44 +0000
committerChris Mytton <self@hecticjeff.net>2013-11-07 12:21:51 +0000
commit9fc8673830d787d02a61e638e93e1ebccaa18f6a (patch)
tree4e6cce3e29f3a93dc0ba9b40b14e0fb443ae5a6a
parentc68888ea7e714917fa16cd02e7b63f6559e5f8b7 (diff)
[Oxfordshire] Fix map center offset
This fixes the map so the centre is offset to the right to account for the overlayed sidebar on the left.
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index b567981f1..ef74ebff4 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -55,7 +55,7 @@ $(function(){
var cobrand = $('meta[name="cobrand"]').attr('content');
var is_small_map = false;
- if (cobrand === 'bromley' || cobrand === 'oxfordshire') {
+ if (cobrand === 'bromley') {
is_small_map = true;
}
@@ -119,7 +119,7 @@ $(function(){
if (cobrand == 'bromley') {
banner_text += '<span>Yellow pins show existing reports</span>';
}
- if (! is_small_map) {
+ if (! is_small_map && cobrand !== 'oxfordshire') {
$('#site-header').show();
banner_text = translation_strings.report_problem_heading;
}