Merge pull request #23 from OverlordQ/fix-removing-comments
Fix removing comments
This commit is contained in:
commit
643e3a3549
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ var pd = {
|
|||
return {valid:false,reason:'Please enter something to edit your comments / self posts to.'};
|
||||
} else if (pd.filters.score && $('#pd_score-num').val() === '') {
|
||||
return {valid:false,reason:'Please enter a score to filter with.'};
|
||||
} else if (!(pd.task.config.isRemovingPosts || pd.task.config.isEditing || pd.task.config.isEditing || pd.task.config.isExporting)) {
|
||||
} else if (!(pd.task.config.isRemovingPosts || pd.task.config.isEditing || pd.task.config.isRemovingComments || pd.task.config.isExporting)) {
|
||||
return {valid:false,reason:'There are no actions chosen, so we\'ve got nothing to do. Please select an action.'};
|
||||
}
|
||||
return {valid:true,reason:'valid'};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue