mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 20:53:08 +02:00
Fix English grammatical error
This commit is contained in:
parent
1a7efa95f1
commit
c93cb93168
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ module.exports = (params, user, app) =>
|
|||
return rej('too many media');
|
||||
}
|
||||
|
||||
// Drop duplicates
|
||||
// Drop duplications
|
||||
medias = medias.filter((x, i, s) => s.indexOf(x) == i);
|
||||
|
||||
// Fetch files
|
||||
|
@ -212,7 +212,7 @@ module.exports = (params, user, app) =>
|
|||
// Trim choices
|
||||
poll.choices = poll.choices.map(choice => choice.trim());
|
||||
|
||||
// Drop duplicates
|
||||
// Drop duplications
|
||||
poll.choices = poll.choices.filter((x, i, s) => s.indexOf(x) == i);
|
||||
|
||||
// 選択肢がひとつならエラー
|
||||
|
|
Loading…
Reference in a new issue