Skip to content

Commit

Permalink
Update powerdeletesuite.js
Browse files Browse the repository at this point in the history
Check right flag.
  • Loading branch information
OverlordQ authored Mar 26, 2021
1 parent d0c2cc4 commit f6cdc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerdeletesuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'};
Expand Down

0 comments on commit f6cdc48

Please sign in to comment.