mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[Fix] Yunohost Overlay - Appear/Desappear bug
This commit is contained in:
parent
d0c8604fad
commit
bf74cc12a5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue