chore(animejs): better loading visuals

This commit is contained in:
ppoffice 2018-11-02 19:27:53 -04:00
parent 5c80316fa3
commit 43f90c6da8
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<% if (plugin !== false) { %>
<% if (head) { %>
<style>body{opacity: 0}</style>
<style>body>.navbar,body>.section,body>.footer{opacity: 0}</style>
<% } else { %>
<%- js(cdn('animejs', '2.2.0', 'anime.js')) %>
<script>
@ -12,7 +12,7 @@
}
$(document).ready(function () {
$('body').css('opacity', 1);
$('body>.navbar,body>.section,body>.footer').css('opacity', 1);
if (!isIE()) {
['.column-main > .card',
'.column-left > .card',