Skip to content

Commit 2f7eccf

Browse files
committed
improved loading animation
1 parent 8360278 commit 2f7eccf

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/scripts.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!-- Scripts -->
2+
<script>window.document.body.classList.add('is-loading');</script>
23
<script src="//cdn.jsdelivr.net/interact.js/1.2.6/interact.min.js"></script>
34
<script src="js/jquery.min.js"></script>
45
<script src="js/jquery.scrollex.min.js"></script>

js/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ ga('send', 'pageview');
3333
$header = $('#header');
3434

3535
// Disable animations/transitions until the page has loaded.
36-
$body.addClass('is-loading');
3736

3837
$window.on('load', function() {
3938
window.setTimeout(function() {

0 commit comments

Comments
 (0)