about summary refs log tree commit diff stats
path: root/src/pages/popup
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-06 21:12:51 +0100
committerHygna <hygna@proton.me>2022-10-06 21:12:51 +0100
commit9b996dcdf2af3cd9a91919cbbca9ea1dbe538f62 (patch)
tree929a0694bf791426c255b216328c8e073827e8b1 /src/pages/popup
parentFixed twimg redirects (diff)
downloadlibredirect-9b996dcdf2af3cd9a91919cbbca9ea1dbe538f62.zip
Fixed some more bugs
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 ed1546c7..a4b73093 100644
--- a/src/pages/popup/popup.js
+++ b/src/pages/popup/popup.js
@@ -81,7 +81,7 @@ browser.storage.local.get("options", r => {
 		let service = await serviceHelper.computeService(url, true)
 		let frontend
 		if (service) {
-			if (service[0]) {
+			if (typeof service != "string") {
 				frontend = service[1]
 				service = service[0]
 			}