Skip to content

Commit

Permalink
xfd: Use Deletion sorting/multi
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTVExpert committed Feb 25, 2022
1 parent fc2a365 commit 231a292
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/twinklexfd.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,11 @@ Twinkle.xfd.callbacks = {
text += '}}';

if (params.delsortCats) { // Only for AFDs
text += '\n{{subst:Deletion sorting/multi';
params.delsortCats.forEach(function (cat) {
text += '\n{{subst:delsort|' + cat + '|~~~~}}';
text += '|' + cat;
});
text += '|sig=~~~~}}';
}

return text;
Expand Down

0 comments on commit 231a292

Please sign in to comment.