Skip to content

Commit

Permalink
Don’t come here with your modern JS
Browse files Browse the repository at this point in the history
  • Loading branch information
pezholio committed Mar 2, 2017
1 parent 100eccc commit f6df291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/cobrands/fixmystreet/fixmystreet.js
Expand Up @@ -869,7 +869,7 @@ $.extend(fixmystreet.set_up, {
}
$('#key-tools li:empty').remove();
$('#report-updates-data').insertAfter($('#map_box'));
if (['reports','report'].includes(fixmystreet.page)) {
if (fixmystreet.page === 'report' || fixmystreet.page === 'reports') {
$('#sub_map_links').append('<a href="#" id="toggle-fullscreen" class="expand" data-expand-text="'+ translation_strings.expand_map +'" data-compress-text="'+ translation_strings.collapse_map +'" >'+ translation_strings.expand_map +'</span>');
}
}
Expand Down

0 comments on commit f6df291

Please sign in to comment.