fix: warning
This commit is contained in:
parent
ed5e4803d1
commit
8070697b20
@ -9,7 +9,8 @@
|
||||
<% if (theme.subtitle.enable){ %>
|
||||
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js"></script>
|
||||
<script>
|
||||
var typed = new Typed("#subtitle", {
|
||||
try {
|
||||
var typed = new Typed("#subtitle", {
|
||||
strings: ['<%= theme.subtitle.text %>','<%= theme.subtitle.text2 %>','<%= theme.subtitle.text3 %>'],
|
||||
startDelay: <%= theme.subtitle.startDelay %>,
|
||||
typeSpeed: <%= theme.subtitle.typeSpeed %>,
|
||||
@ -17,6 +18,9 @@
|
||||
backSpeed: <%= theme.subtitle.backSpeed %>,
|
||||
showCursor: <%= theme.subtitle.showCursor %>
|
||||
});
|
||||
} catch (err) {
|
||||
}
|
||||
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user