aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js8
-rw-r--r--web/js/map-OpenLayers.js4
2 files changed, 6 insertions, 6 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 001334a2a..50f67fb90 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -223,12 +223,12 @@ $(function(){
* Report a problem page
*/
//desktop
- if($('#report-a-poblem-sidebar:visible').length > 0){
- heightFix('#report-a-poblem-sidebar:visible', '.content', 26);
+ if($('#report-a-problem-sidebar:visible').length > 0){
+ heightFix('#report-a-problem-sidebar:visible', '.content', 26);
}
//show/hide notes on mobile
- $('.mobile #report-a-poblem-sidebar').after('<a href="#" class="rap-notes-trigger button-right">How to send successful reports</a>').hide();
+ $('.mobile #report-a-problem-sidebar').after('<a href="#" class="rap-notes-trigger button-right">How to send successful reports</a>').hide();
$('.mobile').on('click', '.rap-notes-trigger', function(e){
e.preventDefault();
//check if we've already moved the notes
@@ -239,7 +239,7 @@ $(function(){
}else{
//if not, move them and show, hiding .content
$('.mobile .content').after('<div class="content rap-notes"></div>').hide();
- $('#report-a-poblem-sidebar').appendTo('.rap-notes').show().after('<a href="#" class="rap-notes-close button-left">BACK</a>');
+ $('#report-a-problem-sidebar').appendTo('.rap-notes').show().after('<a href="#" class="rap-notes-close button-left">BACK</a>');
}
});
$('.mobile').on('click', '.rap-notes-close', function(e){
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 5000e7bca..3bf2078e7 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -233,7 +233,7 @@ $(function(){
$('#side-form').hide();
$('#side').show();
$('#sub_map_links').show();
- heightFix('#report-a-poblem-sidebar:visible', '.content', 26);
+ heightFix('#report-a-problem-sidebar:visible', '.content', 26);
fixmystreet.page = 'around';
});
@@ -389,7 +389,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
}
$('#side').hide();
$('#sub_map_links').hide();
- heightFix('#report-a-poblem-sidebar:visible', '.content', 26);
+ heightFix('#report-a-problem-sidebar:visible', '.content', 26);
fixmystreet.page = 'new';
location.hash = 'report';
}