From 26e171099dc5f5e69beec5a233e5be7b2c8c8151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 18 Jan 2026 13:38:12 +0100 Subject: [PATCH] Wait for the DOM to be ready before hiding the notification indicator. Although the NotificationMenu is constructed on load, the DOM may not yet be ready, meaning that the observer triggered by the .hide call cannot find any other indicators to hide. Wait for the DOM to be ready to hide the notification indicator. Closes #14513 --- sao/src/notification.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sao/src/notification.js b/sao/src/notification.js index 1bc27dbd37..dc67482ef5 100644 --- a/sao/src/notification.js +++ b/sao/src/notification.js @@ -29,7 +29,11 @@ attributes: true, attributeFilter: ['style'], }); - this.indicator.hide(); + jQuery(document).ready(() => { + // Wait for the DOM to be ready to let the observer find the + // other indicators + this.indicator.hide(); + }); } fill() {