Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Close dialogs on tab change #1267

Benjamin King38af53e6cbc8
diff --git a/web/js/sidebar/ui.js b/web/js/sidebar/ui.js
index dfa43d127..efc16b863 100644
--- a/web/js/sidebar/ui.js
+++ b/web/js/sidebar/ui.js
@@ -329,6 +329,7 @@ export function sidebarUi(models, config, ui) {
self.selectTab = function(tab) {
if (activeTab === tab) return;
activeTab = tab;
+ wvui.close();
self.events.trigger('selectTab', tab);
updateState('activeTab');
};