Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Gave var an empty string value #297

Benjaminb426be22b18c
diff --git a/web/js/notifications/wv.notifications.ui.js b/web/js/notifications/wv.notifications.ui.js
index b846fb6af..fedea5c23 100644
--- a/web/js/notifications/wv.notifications.ui.js
+++ b/web/js/notifications/wv.notifications.ui.js
@@ -305,6 +305,7 @@ wv.notifications.ui = wv.notifications.ui || function(models, config) {
alertsNumber = getNumberOfTypeNotseen('alert', sortedNotifications.alerts);
outageNumber = getNumberOfTypeNotseen('outage', sortedNotifications.outages);
count = outageNumber + alertsNumber;
+ hide = '';
if(count === 0) {
hide = 'wv-status-hide'; // hides number value when === zero
}