diff options
author | Struan Donald <struan@exo.org.uk> | 2019-04-09 17:06:53 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-04-23 17:34:00 +0100 |
commit | a76475888c8b2f712aa567aa3c7fac41dc1d4d71 (patch) | |
tree | 0b68d428ff87ce262c95caacc9d356e7dee6eb8e | |
parent | 1118e0b5e19679d7d726728630a19af0304e03ea (diff) |
fire asset not found if asset layer is not visible
this is required so that any hiding of messages etc occurs when the
layer is hidden.
-rw-r--r-- | web/cobrands/fixmystreet/assets.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js index e4a48dc34..8b121066b 100644 --- a/web/cobrands/fixmystreet/assets.js +++ b/web/cobrands/fixmystreet/assets.js @@ -405,6 +405,8 @@ function layer_visibilitychanged() { this.road_not_found(); } return; + } else if (!this.getVisibility()) { + this.asset_not_found(); } check_zoom_message_visibility.call(this); |