Merge pull request #405 from Robbt/fix/prevent-rename-of-clear-button
modified jquery find for shuffle and generate buttons to not target clear button
This commit is contained in:
commit
a51f33442e
1 changed files with 2 additions and 2 deletions
|
@ -367,8 +367,8 @@ function setupUI() {
|
||||||
*/
|
*/
|
||||||
var sortable = activeTab.find('.spl_sortable'),
|
var sortable = activeTab.find('.spl_sortable'),
|
||||||
plContents = sortable.children(),
|
plContents = sortable.children(),
|
||||||
shuffleButton = activeTab.find('button[name="shuffle_button"], #pl-bl-clear-content'),
|
shuffleButton = activeTab.find('button[name="shuffle_button"]'),
|
||||||
generateButton = activeTab.find('button[name="generate_button"], #pl-bl-clear-content'),
|
generateButton = activeTab.find('button[name="generate_button"]'),
|
||||||
fadesButton = activeTab.find('#spl_crossfade, #pl-bl-clear-content');
|
fadesButton = activeTab.find('#spl_crossfade, #pl-bl-clear-content');
|
||||||
|
|
||||||
if (!plContents.hasClass('spl_empty')) {
|
if (!plContents.hasClass('spl_empty')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue