fix: clean up component logic

This commit is contained in:
Cory Dransfeldt 2024-02-21 11:53:31 -08:00
parent 1fc64f15b2
commit 8d9d6cc530
No known key found for this signature in database
3 changed files with 8 additions and 50 deletions

View file

@ -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
}