aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/notification.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/notification.js')
-rw-r--r--web_src/js/features/notification.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web_src/js/features/notification.js b/web_src/js/features/notification.js
index 90e19b683b..d9f6e50202 100644
--- a/web_src/js/features/notification.js
+++ b/web_src/js/features/notification.js
@@ -35,7 +35,7 @@ async function receiveUpdateCount(event) {
const data = JSON.parse(event.data);
for (const count of document.querySelectorAll('.notification_count')) {
- count.classList.toggle('gt-hidden', data.Count === 0);
+ count.classList.toggle('tw-hidden', data.Count === 0);
count.textContent = `${data.Count}`;
}
await updateNotificationTable();
@@ -179,9 +179,9 @@ async function updateNotificationCount() {
const $notificationCount = $('.notification_count');
if (data.new === 0) {
- $notificationCount.addClass('gt-hidden');
+ $notificationCount.addClass('tw-hidden');
} else {
- $notificationCount.removeClass('gt-hidden');
+ $notificationCount.removeClass('tw-hidden');
}
$notificationCount.text(`${data.new}`);