mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
* Fix CW issues in static view on Safari (8354) * Fixed formatting issues * Trailing space
This commit is contained in:
parent
b4ba4b1b5d
commit
5c42e8b51b
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user