Skip to content

Commit

Permalink
BACKLOG-22920 : fix js console error (jahia loader) + use moonstone s…
Browse files Browse the repository at this point in the history
…tyles for loader (#290)
  • Loading branch information
dgriffon authored Oct 3, 2024
1 parent f8925c0 commit aa32247
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/main/resources/root.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,24 @@
}
.jahia-loader {
height: 100vh;
width: 100vw;
height: 100vh;
background-color: #1f262a;
padding-top: 30vh;
font-size: 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 56px;
background-color: #293136;
color: #fefefe;
}
.jahia-loading {
width: 300px;
height: 4px;
background-color: #60717b;
}
.jahia-loading_progress {
width: 300px;
height: 4px;
Expand Down Expand Up @@ -288,7 +294,9 @@
<script type="text/javascript">
setTimeout(() => {
// in case loader still present after 1 minute, display reload message
document.querySelector('.jahia-loading_timeout').classList.remove('is-hidden');
if (document.querySelector('.jahia-loading_timeout')) {
document.querySelector('.jahia-loading_timeout').classList.remove('is-hidden');
}
}, 60000)
window.appShell = {
remotes: {},
Expand Down

0 comments on commit aa32247

Please sign in to comment.