aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/fixmystreet/assets.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js
index 9a72590fd..7928b6941 100644
--- a/web/cobrands/fixmystreet/assets.js
+++ b/web/cobrands/fixmystreet/assets.js
@@ -312,9 +312,13 @@ function check_zoom_message_visibility() {
}
if (this.getVisibility() && this.inRange) {
- $p.html('Or pick a <b class="asset-' + this.fixmystreet.asset_type + '">' + this.fixmystreet.asset_item + '</b> from the map &raquo;');
+ if (this.fixmystreet.asset_item_message) {
+ $p.html(this.fixmystreet.asset_item_message);
+ } else {
+ $p.html('You can pick a <b class="asset-' + this.fixmystreet.asset_type + '">' + this.fixmystreet.asset_item + '</b> from the map &raquo;');
+ }
} else {
- $p.html('Or zoom in and pick a ' + this.fixmystreet.asset_item + ' from the map');
+ $p.html('Zoom in to pick a ' + this.fixmystreet.asset_item + ' from the map');
}
} else {