diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 16362691f..3347378b5 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -466,7 +466,7 @@ updateElement.textContent = count >= 100 ? '99+' : count; } } else { - updateElement.textContent = '0'; + if (updateElement) updateElement.textContent = '0'; if (subElement) subElement.classList.remove('show'); if (buttonElement) { buttonElement.style.display = 'none'; // Fade-out effect replaced by display none |