Skip to content

Commit

Permalink
hide layers toggle menu until loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
zandre-eng committed Jan 22, 2024
1 parent a1c4a88 commit a665c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions corehq/apps/geospatial/static/geospatial/js/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ hqDefine('geospatial/js/models', [

menuElement.appendChild(link);
}
menuElement.classList.remove('hidden');
});
}

Expand Down
2 changes: 1 addition & 1 deletion corehq/apps/geospatial/templates/map_visualization.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
{% endblocktrans %}
</div>
<div id="geospatial-map" style="height: 500px">
<div id="layer-toggle-menu" class="btn-group-vertical">
<div id="layer-toggle-menu" class="btn-group-vertical hidden">
<h4 class="text-center">
{% trans 'Layers' %}
</h4>
Expand Down

0 comments on commit a665c41

Please sign in to comment.