Merge pull request #13 from mutschler/mutschler-patch-2

fix: allow custom sites when only one is added
This commit is contained in:
Виктор Диктор 2023-11-20 10:24:53 +03:00 committed by GitHub
commit 31d1d22563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ async function saveOptions() {
// todo: fix it
// also need make function for check string
// https://developer.chrome.com/docs/extensions/mv3/match_patterns/
if(sites.length <= 1){
if(!sites.length){
return;
}