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 row = $('last-played').insertRow();
|
||||||
let start_time = row.insertCell();
|
let start_time = row.insertCell();
|
||||||
start_time.appendChild(document.createTextNode(last_played.time));
|
start_time.appendChild(document.createTextNode(last_played.time));
|
||||||
let artist_cell = row.insertCell();
|
let listeners_cell = row.insertCell();
|
||||||
artist_cell.appendChild(document.createTextNode(last_played.artist));
|
listeners_cell.appendChild(document.createTextNode(last_played.listeners));
|
||||||
let title_cell = row.insertCell();
|
let song_cell = row.insertCell();
|
||||||
title_cell.appendChild(document.createTextNode(last_played.title));
|
song_cell.appendChild(document.createTextNode(last_played.song));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user