2.3.8 play queue scroll fix
This commit is contained in:
parent
77831e1ef6
commit
8d5629e752
7 changed files with 17 additions and 21 deletions
|
@ -1123,6 +1123,10 @@ function loadCurrentPlaylist() {
|
|||
var html = localStorage.getItem('CurrentPlaylist');
|
||||
if (html != '' && html !== undefined && html !== null) {
|
||||
$('#CurrentPlaylistContainer tbody').html(html);
|
||||
var songid = $('#CurrentPlaylistContainer tbody tr.playing').attr('childid');
|
||||
if (typeof songid != 'undefined') {
|
||||
$('#CurrentPlaylist').scrollTo($('#' + songid), 400);
|
||||
}
|
||||
if (debug) { console.log('Load Play Queue From localStorage: ' + html.length + ' characters'); }
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue