Smart playlists: fixed shuffle button activation clause

This commit is contained in:
denise 2012-08-16 15:47:31 -04:00
parent 0d21d9a9af
commit 45f08e41d1
1 changed files with 1 additions and 1 deletions
airtime_mvc/public/js/airtime/playlist

View File

@ -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');
}