fix: typed.js warning
This commit is contained in:
parent
8070697b20
commit
83243b93f4
@ -7,7 +7,6 @@
|
|||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (theme.subtitle.enable){ %>
|
<% if (theme.subtitle.enable){ %>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
try {
|
try {
|
||||||
var typed = new Typed("#subtitle", {
|
var typed = new Typed("#subtitle", {
|
||||||
|
@ -35,3 +35,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
<% if (theme.subtitle.enable){ %>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
|
||||||
|
<% } %>
|
Loading…
Reference in New Issue
Block a user