Make loading work properly again

When making the page work without JS I removed a class from the body which made loading the page change behaviour.
I have added a line in javascript to add the class back. It will load before the rest of the javascript gets loaded.
It works as intended again.

I also removed a css file that shouldn't have been in the initial commit.
stable
Ilja 2020-07-20 12:49:27 +02:00
parent 85de752124
commit f0f20f28b6
2 changed files with 2 additions and 3910 deletions

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body>
<body id='body'>
<!-- Sidebar -->
<section id="sidebar">
@ -171,6 +171,7 @@
</footer>
<!-- Scripts -->
<script>document.getElementById('body').classList.add("is-preload");</script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>