From c8efc26f58950770c67ee9e251fbb50b7d7564c5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 30 Nov 2021 16:57:58 +0100 Subject: [PATCH] docs --- InvenTree/InvenTree/static/script/inventree/notification.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InvenTree/InvenTree/static/script/inventree/notification.js b/InvenTree/InvenTree/static/script/inventree/notification.js index cca807b81c..5f9b35c9e2 100644 --- a/InvenTree/InvenTree/static/script/inventree/notification.js +++ b/InvenTree/InvenTree/static/script/inventree/notification.js @@ -141,6 +141,9 @@ function showMessage(message, options={}) { } } +/** + * updates the notification counter + **/ function updateNotificationIndicator(count) { if (count == 0) { $("#notification-alert").addClass("d-none");