mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
update docs
This commit is contained in:
parent
92c3eaef8f
commit
cc9107d72a
@ -122,7 +122,10 @@ function showMessage(message, options={}) {
|
|||||||
var notificationUpdateTic = 0;
|
var notificationUpdateTic = 0;
|
||||||
/**
|
/**
|
||||||
* The notification checker is initiated when the document is loaded. It checks if there are unread notifications
|
* 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) {
|
function notificationCheck(force = false) {
|
||||||
notificationUpdateTic = notificationUpdateTic + 1;
|
notificationUpdateTic = notificationUpdateTic + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user