Updated main.js for a new last played layout.
This commit is contained in:
parent
52696c026e
commit
f51b623b08
@ -31,10 +31,10 @@ function updateLastPlayedSong() {
|
||||
let row = $('last-played').insertRow();
|
||||
let start_time = row.insertCell();
|
||||
start_time.appendChild(document.createTextNode(last_played.time));
|
||||
let artist_cell = row.insertCell();
|
||||
artist_cell.appendChild(document.createTextNode(last_played.artist));
|
||||
let title_cell = row.insertCell();
|
||||
title_cell.appendChild(document.createTextNode(last_played.title));
|
||||
let listeners_cell = row.insertCell();
|
||||
listeners_cell.appendChild(document.createTextNode(last_played.listeners));
|
||||
let song_cell = row.insertCell();
|
||||
song_cell.appendChild(document.createTextNode(last_played.song));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user