about summary refs log tree commit diff stats
path: root/src/pages/popup
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-01-07 00:24:25 +0300
committerManeraKai <manerakai@protonmail.com>2023-01-07 00:24:25 +0300
commit868dccfb3b732d6862fa9d1e6aab2f651a9aa06e (patch)
treefef762a0e7ef7c4622263812d48544f10386bf81 /src/pages/popup
parentRemoved Wikiless, Neuters. Optimization (diff)
downloadlibredirect-868dccfb3b732d6862fa9d1e6aab2f651a9aa06e.zip
Changed Update Instances selection mechanism. https://github.com/libredirect/libredirect/issues/334 Removed Peertube (maybe will readd it later). Optimized code
Diffstat (limited to 'src/pages/popup')
-rw-r--r--src/pages/popup/popup.js2
1 files changed, 1 insertions, 1 deletions
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")