Skip to content
Snippets Groups Projects
Commit 5c42e8b5 authored by PatrickRWells's avatar PatrickRWells Committed by Eugen Rochko
Browse files

Fix CW issues in static view on Safari (Fixes #8354) (#8446)

* Fix CW issues in static view on Safari (8354)

* Fixed formatting issues

* Trailing space
parent b4ba4b1b
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,10 @@ function main() {
.catch(error => console.error(error));
}
new Rellax('.parallax', { speed: -1 });
const parallaxComponents = document.querySelectorAll('.parallax');
if (parallaxComponents.length > 0 ) {
new Rellax('.parallax', { speed: -1 });
}
const history = createHistory();
const detailedStatuses = document.querySelectorAll('.public-layout .detailed-status');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment