fix no element error

pull/367/head
jingjingxyk 3 years ago
parent 8f680c989c
commit b501116c2f

@ -2,6 +2,7 @@
let URLObj = new URL(location.href) let URLObj = new URL(location.href)
console.log(URLObj) console.log(URLObj)
if( document.querySelector("#readme table tbody")) {
let audio_player = new Audio() let audio_player = new Audio()
audio_player.setAttribute('autoplay', 'true') audio_player.setAttribute('autoplay', 'true')
@ -29,3 +30,4 @@
} }
}) })
} }
}
Loading…
Cancel
Save