diff options
author | Mario <mario@mariovavti.com> | 2024-12-20 19:12:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-12-20 19:12:09 +0000 |
commit | b466932e37340e10fedc9b5b33a28db7ad25e4e8 (patch) | |
tree | dc6e5f22089377e260c3e5b51485f7a14537f9dc /view/tpl | |
parent | a3248e8b3bf253c952e4bbe1f137ca9864192976 (diff) | |
download | volse-hubzilla-b466932e37340e10fedc9b5b33a28db7ad25e4e8.tar.gz volse-hubzilla-b466932e37340e10fedc9b5b33a28db7ad25e4e8.tar.bz2 volse-hubzilla-b466932e37340e10fedc9b5b33a28db7ad25e4e8.zip |
improved imagesLoaded() and formatting
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 |