From 868dccfb3b732d6862fa9d1e6aab2f651a9aa06e Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sat, 7 Jan 2023 00:24:25 +0300 Subject: Changed Update Instances selection mechanism. https://github.com/libredirect/libredirect/issues/334 Removed Peertube (maybe will readd it later). Optimized code --- src/pages/popup/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages/popup') diff --git a/src/pages/popup/popup.js b/src/pages/popup/popup.js index b2f2c299..aa3fb0d7 100644 --- a/src/pages/popup/popup.js +++ b/src/pages/popup/popup.js @@ -85,7 +85,7 @@ browser.storage.local.get(["options", "redirects"], r => { frontend = service[1] service = service[0] let isCustom = false - for (const network in config.networks) if (r.options[frontend][network].custom.indexOf(instance) > -1) isCustom = true + for (const network in config.networks) if (r.options[frontend].indexOf(instance) > -1) isCustom = true } divs[service].current.classList.remove("hide") divs[service].all.classList.add("hide") -- cgit 1.4.1