mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove logging
This commit is contained in:
parent
44d08d77aa
commit
194c5c5857
@ -147,8 +147,6 @@ var notificationUpdateTic = 0;
|
|||||||
function notificationCheck(force = false) {
|
function notificationCheck(force = false) {
|
||||||
notificationUpdateTic = notificationUpdateTic + 1;
|
notificationUpdateTic = notificationUpdateTic + 1;
|
||||||
|
|
||||||
console.log(notificationUpdateTic);
|
|
||||||
|
|
||||||
// refresh if forced or
|
// refresh if forced or
|
||||||
// if in focus and was not refreshed in the last 5 seconds
|
// if in focus and was not refreshed in the last 5 seconds
|
||||||
if (force || (document.hasFocus() && notificationUpdateTic >= 5)) {
|
if (force || (document.hasFocus() && notificationUpdateTic >= 5)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user