aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/base/maps/openlayers.html2
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js7
-rw-r--r--web/cobrands/sass/_layout.scss9
3 files changed, 11 insertions, 7 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 27c71f42f..1d0f88166 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -28,7 +28,7 @@ var fixmystreet = {
'pins': [% INCLUDE maps/pins_js.html %]
}
</script>
-<div id="map_box">
+<div id="map_box" aria-hidden="true">
[% pre_map %]
<div id="map"><noscript>
<div id="drag"><[% map.img_type %]
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 5a4e7ab4d..122488646 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -178,8 +178,7 @@ $(function(){
});
//move 'skip this step' link on mobile
- $('.mobile #skip-this-step').hide();
- $('.mobile #skip-this-step a').addClass('chevron').wrap('<li>').appendTo('#key-tools');
+ $('.mobile #skip-this-step').addClass('chevron').wrap('<li>').parent().appendTo('#key-tools');
/*
* Tabs
@@ -369,12 +368,12 @@ $.fn.drawer = function(id, ajax) {
// Go directly to RSS feed if RSS button clicked on alert page
// (due to not wanting around form to submit, though good thing anyway)
- $('.container').on('click', '#alert_rss_button', function(e){
+ $('body').on('click', '#alert_rss_button', function(e){
e.preventDefault();
var feed = $('input[name=feed][type=radio]:checked').nextAll('a').attr('href');
window.location.href = feed;
});
- $('.container').on('click', '#alert_email_button', function(e){
+ $('body').on('click', '#alert_email_button', function(e){
e.preventDefault();
var form = $('<form/>').attr({ method:'post', action:"/alert/subscribe" });
form.append($('<input name="alert" value="Subscribe me to an email alert" type="hidden" />'));
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 26460c580..cc4cfadf2 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -118,11 +118,16 @@ h1 {
top:-3.25em;
}
}
-#nav-link,
-#report-cta {
+
+#nav-link {
#{$right}: auto;
#{$left}: -999999px;
}
+
+#report-cta {
+ display: none;
+}
+
#main-nav{
margin: 0 auto;
padding: 0em;