fix: typed.js warning

This commit is contained in:
shenyu 2020-02-05 11:27:16 +08:00
parent 8070697b20
commit 83243b93f4
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,6 @@
<% } %>
<% if (theme.subtitle.enable){ %>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
<script>
try {
var typed = new Typed("#subtitle", {

View File

@ -34,4 +34,8 @@
<a href="javascript:void(0)" class="anchor"><i class="ri-arrow-down-line"></i></a>
</div>
</section>
<% } %>
<% if (theme.subtitle.enable){ %>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
<% } %>