CC-2401: Shuffle option in playlists

- done
This commit is contained in:
James 2012-11-13 17:31:30 -05:00
parent 33e4d6154d
commit 2b2a1db055
5 changed files with 75 additions and 5 deletions

View file

@ -351,7 +351,7 @@ function setupUI() {
* It is only active if playlist is not empty
*/
var plContents = $('#spl_sortable').children();
var shuffleButton = $('button[id="shuffle_button"]');
var shuffleButton = $('button[id="shuffle_button"], button[id="playlist_shuffle_button"]');
if (!plContents.hasClass('spl_empty')) {
if (shuffleButton.hasClass('ui-state-disabled')) {