Skip to content

Commit

Permalink
Отключаем уведомление если капчу неуспешно проходит
Browse files Browse the repository at this point in the history
  • Loading branch information
Serega007RU committed Oct 8, 2022
1 parent 0bbeae6 commit 5edb22a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,7 @@ async function transcribeAudio(audioUrl, lang) {
}
}

if (!solution) {
showNotification({messageId: 'error_captchaNotSolved', timeout: 6000});
} else {
return solution;
}
if (solution) return solution
}

async function onMessage(request, sender) {
Expand Down

0 comments on commit 5edb22a

Please sign in to comment.