This commit is contained in:
Matthias committed 2021-11-30 16:57:53 +01:00
1 parent 791da9b322
commit 753199febb
1 file changed
+3 -3
@@ -141,13 +141,13 @@ function showMessage(message, options={}) {
}
}
function updateNotificationIndicator(counter) {
if (counter == 0) {
function updateNotificationIndicator(count) {
if (count == 0) {
$("#notification-alert").addClass("d-none");
} else {
$("#notification-alert").removeClass("d-none");
}
$("#notification-counter").html(counter);
$("#notification-counter").html(count);
}