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