From d54231452080d16d998497f2d24712c9e133463f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 30 Nov 2021 17:14:23 +0100 Subject: [PATCH] better docs --- InvenTree/InvenTree/static/script/inventree/notification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/static/script/inventree/notification.js b/InvenTree/InvenTree/static/script/inventree/notification.js index 00ce07afb3..847c95dba7 100644 --- a/InvenTree/InvenTree/static/script/inventree/notification.js +++ b/InvenTree/InvenTree/static/script/inventree/notification.js @@ -232,7 +232,7 @@ function updateNotificationReadState(btn, panel_caller=false) { inventreePut(url, {}, { method: 'POST', success: function() { - // update the notification tables if they exsist + // update the notification tables if they were declared if (window.updateNotifications) { window.updateNotifications(); } @@ -247,7 +247,7 @@ function updateNotificationReadState(btn, panel_caller=false) { // update notification indicator now updateNotificationIndicator(count); - // remove notification if in panel + // remove notification if called from notification panel if (panel_caller) { btn.parent().parent().remove() }