fix: clean up component logic
This commit is contained in:
parent
1fc64f15b2
commit
8d9d6cc530
3 changed files with 8 additions and 50 deletions
|
@ -25,8 +25,8 @@ class NowPlaying extends HTMLElement {
|
|||
const value = data['content']
|
||||
|
||||
loading.style.opacity = '0'
|
||||
content.style.opacity = '1'
|
||||
loading.style.display = 'none'
|
||||
content.style.opacity = '1'
|
||||
content.innerHTML = value
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue