For update button replaced getElementById with getElementsByName.
This commit is contained in:
parent
472a68768c
commit
865bdd7eca
@ -36,7 +36,7 @@ function updateLastPlayedSong() {
|
||||
});
|
||||
}
|
||||
|
||||
document.getElementById("btn-update").addEventListener("click", () => {
|
||||
document.getElementsByName("update")[0].addEventListener("click", () => {
|
||||
updateLastPlayedSong();
|
||||
updateRadioStatus();
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user