Merge pull request #13 from mutschler/mutschler-patch-2
fix: allow custom sites when only one is added
This commit is contained in:
commit
31d1d22563
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue