From bc737fca52bac4e94d6f95407189612ab0dd6fab Mon Sep 17 00:00:00 2001 From: nesnoj Date: Wed, 15 May 2024 14:24:00 +0200 Subject: [PATCH] Hide result choropleths on revisit Fixes #395 --- CHANGELOG.md | 1 + digiplan/static/js/menu.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 560b31a9..a0efa37b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe - keep detail panel open on slider value change - change slider callback events to "onFinish" to reduce callbacks due to rapid changing +- hide result choropleths on revisit ## [1.0.1] - 2023-11-01 ### Added diff --git a/digiplan/static/js/menu.js b/digiplan/static/js/menu.js index cc0c217a..a60f909a 100644 --- a/digiplan/static/js/menu.js +++ b/digiplan/static/js/menu.js @@ -33,7 +33,6 @@ PubSub.subscribe(eventTopics.MENU_SETTINGS_SELECTED, deactivateChoropleth); PubSub.subscribe(eventTopics.MENU_SETTINGS_SELECTED, terminateSimulation); PubSub.subscribe(eventTopics.MENU_RESULTS_SELECTED, setMapChartViewVisibility); PubSub.subscribe(eventTopics.MENU_RESULTS_SELECTED, hidePotentialLayers); -PubSub.subscribe(eventTopics.MENU_RESULTS_SELECTED, reactivateChoropleth); PubSub.subscribe(eventTopics.MAP_VIEW_SELECTED, setResultsView); PubSub.subscribe(eventTopics.CHART_VIEW_SELECTED, setResultsView);