Skip to content

Commit

Permalink
fix broken map view after returning from events view #99
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Nov 24, 2023
1 parent 9224ee3 commit 62da807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -1711,6 +1711,7 @@ async function map_start_promise() {

function showMapOverview() {
document.getElementById('section_gfx').style.display = 'none';
document.getElementById('section_events').style.display = 'none';
if (document.getElementById("gfx_data_cursor_pane")) {
document.getElementById("gfx_data_cursor_pane").style.display = 'none';
}
Expand All @@ -1721,7 +1722,6 @@ function showMapOverview() {
bzanalytics_map.updateSize();
document.getElementById('headline').classList.remove("active");
document.getElementById('map_overview').classList.add("active");
document.getElementById('section_events').style.display = 'none';
document.getElementById('show_events_btn').classList.remove("active");
}

Expand Down

0 comments on commit 62da807

Please sign in to comment.