diff options
-rw-r--r-- | web/cobrands/fixmystreet/assets.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js index 62efba30f..9113c95a2 100644 --- a/web/cobrands/fixmystreet/assets.js +++ b/web/cobrands/fixmystreet/assets.js @@ -375,7 +375,7 @@ function clear_fields_for_attributes(attributes) { } function check_zoom_message_visibility() { - if (this.fixmystreet.non_interactive) { + if (this.fixmystreet.non_interactive && !this.fixmystreet.display_zoom_message) { return; } var select = this.fixmystreet.asset_group ? 'category_group' : 'form_category'; @@ -419,6 +419,9 @@ function layer_visibilitychanged() { if (!this.getVisibility()) { this.road_not_found(); } + if (this.fixmystreet.display_zoom_message) { + check_zoom_message_visibility.call(this); + } return; } else if (!this.getVisibility()) { asset_unselected.call(this); |