mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
typedjs 升级
This commit is contained in:
@@ -27,7 +27,7 @@ const Hero = props => {
|
||||
|
||||
if (!typed && window && document.getElementById('typed')) {
|
||||
loadExternalResource(
|
||||
'https://cdn.jsdelivr.net/npm/typed.js@2.0.12',
|
||||
'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js',
|
||||
'js'
|
||||
).then(() => {
|
||||
if (window.Typed) {
|
||||
|
||||
@@ -22,7 +22,7 @@ const Hero = props => {
|
||||
updateHeaderHeight()
|
||||
if (!typed && window && document.getElementById('typed')) {
|
||||
loadExternalResource(
|
||||
'https://cdn.jsdelivr.net/npm/typed.js@2.0.12',
|
||||
'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js',
|
||||
'js'
|
||||
).then(() => {
|
||||
if (window.Typed) {
|
||||
|
||||
Reference in New Issue
Block a user