Parcourir la source

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
master
PatrickRWells il y a 5 ans
committed by Eugen Rochko
Parent
révision
5c42e8b51b
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      app/javascript/packs/public.js

+ 4
- 1
app/javascript/packs/public.js Voir le fichier

@@ -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');


Chargement…
Annuler
Enregistrer