diff --git a/builds/metube-browser-extension-1.6.zip b/builds/metube-browser-extension-1.6.zip new file mode 100644 index 0000000..f8b189a Binary files /dev/null and b/builds/metube-browser-extension-1.6.zip differ diff --git a/src/manifest.json b/src/manifest.json index 81ebdeb..022dcda 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "MeTube Downloader", "description": "Use the context menu to send video into MeTube application", - "version": "1.5", + "version": "1.6", "manifest_version": 3, "permissions": ["contextMenus", "storage", "tabs"], "background": { diff --git a/src/options.js b/src/options.js index 6ebf4e9..e241b57 100644 --- a/src/options.js +++ b/src/options.js @@ -39,7 +39,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; }