diff --git a/InvenTree/InvenTree/static/script/inventree/notification.js b/InvenTree/InvenTree/static/script/inventree/notification.js index 50a260af97..c5020169d6 100644 --- a/InvenTree/InvenTree/static/script/inventree/notification.js +++ b/InvenTree/InvenTree/static/script/inventree/notification.js @@ -122,7 +122,10 @@ function showMessage(message, options={}) { var notificationUpdateTic = 0; /** * The notification checker is initiated when the document is loaded. It checks if there are unread notifications - * if unread messages exist the alert flag is raised by making it visible + * if unread messages exist the notification indicator is updated + * + * options: + * - force: set true to force an update now (if you got in focus for example) **/ function notificationCheck(force = false) { notificationUpdateTic = notificationUpdateTic + 1;