From bf74cc12a51ba13e843582816e5028bbb4be7f03 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 May 2021 23:23:50 +0400 Subject: [PATCH] [Fix] Yunohost Overlay - Appear/Desappear bug --- portal/assets/js/ynh_portal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/portal/assets/js/ynh_portal.js b/portal/assets/js/ynh_portal.js index 84453c6..806f809 100644 --- a/portal/assets/js/ynh_portal.js +++ b/portal/assets/js/ynh_portal.js @@ -266,6 +266,7 @@ function init_portal_button_and_overlay() portalOverlay.src = "/yunohost/sso/portal.html"; portalOverlay.setAttribute("id","ynh-overlay"); portalOverlay.setAttribute("style","visibility: hidden;"); // make sure the overlay is invisible already when loading it + portalOverlay.setAttribute("class","ynh-fadeOut"); // set overlay as masked when loading it document.body.insertBefore(portalOverlay, null); // Inject portal button