Skip to content

Commit

Permalink
Fix Preloader using JQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
aswinshenoy committed Mar 7, 2019
1 parent 945a36f commit cece7f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/base.haml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
this.boxes.push(element);
};

$('#preload-screen').addClass('animated fadeOut');
$(window).on('load', function() {
$('#preload-screen').addClass('animated fadeOut');
});
-# $('.anime').on('scrollSpy:exit', function() {
-# $(this).css({
-# 'visibility': 'hidden',
Expand Down

0 comments on commit cece7f6

Please sign in to comment.