Smart playlists: fixed shuffle button activation clause
This commit is contained in:
parent
0d21d9a9af
commit
45f08e41d1
airtime_mvc/public/js/airtime/playlist
|
@ -335,7 +335,7 @@ function setupUI() {
|
|||
var plContents = $('#spl_sortable').children();
|
||||
var shuffleButton = $('button[id="shuffle_button"]');
|
||||
|
||||
if (plContents.length > 1) {
|
||||
if (plContents.text() !== 'Empty playlist') {
|
||||
if (shuffleButton.hasClass('ui-state-disabled')) {
|
||||
shuffleButton.removeClass('ui-state-disabled');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue