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

@ -35,3 +35,7 @@
</div>
</section>
<% } %>
<% if (theme.subtitle.enable){ %>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
<% } %>