chore(animejs): better loading visuals

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