Apply suggestions
This commit is contained in:
parent
1d0fd4c40b
commit
152cc07483
3 changed files with 9 additions and 4 deletions
|
|
@ -821,7 +821,7 @@ async function post(ev?: MouseEvent) {
|
|||
const filesData = toRaw(files.value);
|
||||
|
||||
const isMissingAltText = filesData.filter(
|
||||
file => file.type.startsWith('image/') || file.type.startsWith('video/') || file.type.startsWith('audio/')
|
||||
file => file.type.startsWith('image/') || file.type.startsWith('video/') || file.type.startsWith('audio/'),
|
||||
).some(file => !file.comment);
|
||||
|
||||
if (isMissingAltText) {
|
||||
|
|
@ -914,8 +914,6 @@ async function post(ev?: MouseEvent) {
|
|||
claimAchievement('notes1');
|
||||
}
|
||||
|
||||
poll.value = null;
|
||||
|
||||
const text = postData.text ?? '';
|
||||
const lowerCase = text.toLowerCase();
|
||||
if ((lowerCase.includes('love') || lowerCase.includes('❤')) && lowerCase.includes('sharkey')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue