misc(web): fix typo (#461)

This commit is contained in:
Handgrip 2023-02-10 11:03:31 +08:00 committed by GitHub
parent 80b8b6bb51
commit 1ed0bf16b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,8 +87,8 @@
}
}
function loadFiles() {
if (window.brecArt) {
window.brecArt.destory()
if (window.brecArt && window.brecArt.destroy) {
window.brecArt.destroy();
window.brecArt = null;
}
window.brecArt = new Artplayer({