This commit is contained in:
Matthias 2021-11-30 16:57:53 +01:00
parent 791da9b322
commit 753199febb
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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);
}