CC-4246: Smart Playlist: Click shuffle button will shuffle the contents multiple times

-small code fix
This commit is contained in:
denise 2012-08-24 11:47:32 -04:00
parent b8571be827
commit 2e505ee970
1 changed files with 2 additions and 2 deletions

View File

@ -333,9 +333,9 @@ function setupUI() {
shuffleButton.removeAttr('disabled');
}
} else if (!shuffleButton.hasClass('ui-state-disabled')) {
if (!shuffleButton.hasClass('ui-state-disabled')) {
shuffleButton.addClass('ui-state-disabled');
if (shuffleButton.attr('disabled') === undefined) {
shuffleButton.attr('disabled', 'disabled');
shuffleButton.addClass('ui-state-disabled');
}
}