aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/notifications_widget.tpl9
1 files changed, 1 insertions, 8 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index f42ff21dc..16362691f 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -587,14 +587,7 @@
let notification = document.querySelector(`#nav-${type}-menu .notification[data-b64mid='${mid}']`);
if (notification) {
- // Fade out the notification by adjusting its opacity
- notification.style.transition = 'opacity 0.5s';
- notification.style.opacity = 0;
-
- // After the transition ends, remove the notification element from the DOM
- notification.addEventListener('transitionend', function () {
- notification.remove();
- });
+ notification.remove();
}
}