CC-4246: Smart Playlist: Click shuffle button will shuffle the contents multiple times
- small code fix
This commit is contained in:
parent
5f1c6453a5
commit
b8571be827
|
@ -335,8 +335,6 @@ function setupUI() {
|
||||||
} else if (!shuffleButton.hasClass('ui-state-disabled')) {
|
} else if (!shuffleButton.hasClass('ui-state-disabled')) {
|
||||||
if (!shuffleButton.hasClass('ui-state-disabled')) {
|
if (!shuffleButton.hasClass('ui-state-disabled')) {
|
||||||
shuffleButton.addClass('ui-state-disabled');
|
shuffleButton.addClass('ui-state-disabled');
|
||||||
}
|
|
||||||
if (shuffleButton.attr('disabled') === undefined) {
|
|
||||||
shuffleButton.attr('disabled', 'disabled');
|
shuffleButton.attr('disabled', 'disabled');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue