Skip to content

Commit

Permalink
Use "wvr-components-loading" instead of "wvr-components-display".
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed May 18, 2021
1 parent 46544d2 commit 8725354
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export class AppModule {
showHiddentContent(this.injector);

wvrTimeout(() => {
const elements = document.querySelectorAll('.wvr-components-display:not(body)');
const elements = document.querySelectorAll('.wvr-components-loading:not(body)');
elements.forEach(function(element) {
element.classList.remove('wvr-components-display');
element.classList.remove('wvr-components-loading');
});

const bodyElem = document.querySelector('body');
if (bodyElem) {
bodyElem.classList.remove('wvr-components-display');
bodyElem.classList.remove('wvr-components-loading');
bodyElem.classList.remove('wvr-hidden');
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

</head>

<body class="wvr-components-display">
<body class="wvr-components-loading">

<wvre-header title-row-theme-variant="primary" top-nav-theme-variant="primaryNeutral" bottom-nav-theme-variant="primaryNeutral">
<wvre-nav-list top-navigation>
Expand Down
2 changes: 1 addition & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@import '../projects/wvr-elements/src/lib/shared/styles/overrides';
}

.wvr-components-display,
.wvr-components-loading,
.wvr-hidden {
display: none;
}

0 comments on commit 8725354

Please sign in to comment.