修复属性值读取错误

This commit is contained in:
j m 2024-12-22 10:38:44 +08:00
parent c4d0ed863e
commit 358d06b5dd
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ document.addEventListener('DOMContentLoaded', () => {
constructor() { constructor() {
super() super()
this.innerHTML = this.hasAttribute('prompt') || '音乐播放器加载中...' this.innerHTML = this.getAttribute('prompt') || '音乐播放器加载中...'
this.options = { this.options = {
container: this, container: this,
fixed: this.hasAttribute('fixed') || false, fixed: this.hasAttribute('fixed') || false,

File diff suppressed because one or more lines are too long