diff --git a/InvenTree/InvenTree/static/script/inventree/notification.js b/InvenTree/InvenTree/static/script/inventree/notification.js index 8e4b05a546..bdee5d200f 100644 --- a/InvenTree/InvenTree/static/script/inventree/notification.js +++ b/InvenTree/InvenTree/static/script/inventree/notification.js @@ -199,7 +199,9 @@ function getReadEditButton(pk, state) { return ``; } - +/** + * fills the notification panel when opened + **/ function openNotificationPanel() { var html = ''; var center_ref = '#notification-center'; @@ -249,7 +251,9 @@ function openNotificationPanel() { }); } - +/** + * clears the notification panel when closed + **/ function closeNotificationPanel() { $('#notification-center').html(`

{% trans "Notifications will load here" %}

`); }