about summary refs log tree commit diff stats
path: root/src/pages/options/widgets
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-01 11:17:32 +0100
committerHygna <hygna@proton.me>2022-10-01 11:17:32 +0100
commite21ecb4e1d640add426865d5719ba8cd63eab977 (patch)
treed1e24c6b465dac81c50d10bba9bca755f8d3b095 /src/pages/options/widgets
parentSquashed a few bugs (diff)
downloadlibredirect-e21ecb4e1d640add426865d5719ba8cd63eab977.zip
Unify Localstorage
Diffstat (limited to 'src/pages/options/widgets')
-rw-r--r--src/pages/options/widgets/about.ejs8
-rw-r--r--src/pages/options/widgets/services.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/pages/options/widgets/about.ejs b/src/pages/options/widgets/about.ejs
index 99202141..63c5b027 100644
--- a/src/pages/options/widgets/about.ejs
+++ b/src/pages/options/widgets/about.ejs
@@ -6,19 +6,19 @@
 <div class="about">
   <div class="some-block option-block">
     <h4>Donate: ♥️</h4>
-    <h4><a href='https://libredirect.github.io/donate'>https://libredirect.github.io/donate</a> </h4>
+    <h4><a href='https://libredirect.codeberg.page/donate'>https://libredirect.codeberg.page/donate</a> </h4>
   </div>
   <div class="some-block option-block">
     <h4>FAQ:</h4>
-    <h4><a href='https://libredirect.github.io/faq'>https://libredirect.github.io/faq</a></h4>
+    <h4><a href='https://libredirect.codeberg.page/faq'>https://libredirect.codeberg.page/faq</a></h4>
   </div>
   <div class="some-block option-block">
     <h4>Docs:</h4>
-    <h4><a href='https://libredirect.github.io/docs'>https://libredirect.github.io/docs</a></h4>
+    <h4><a href='https://libredirect.codeberg.page/docs'>https://libredirect.codeberg.page/docs</a></h4>
   </div>
   <div class="some-block option-block">
     <h4>Source Code:</h4>
-    <h4><a href='https://libredirect.github.io/source_code'>https://libredirect.github.io/source_code</a></h4>
+    <h4><a href='https://libredirect.codeberg.page/source_code'>https://libredirect.codeberg.page/source_code</a></h4>
   </div>
 </div>
 </section>
diff --git a/src/pages/options/widgets/services.js b/src/pages/options/widgets/services.js
index 98e068a1..eb7f1ba7 100644
--- a/src/pages/options/widgets/services.js
+++ b/src/pages/options/widgets/services.js
@@ -40,7 +40,7 @@ function changeFrontendsSettings(service) {
 	}
 
 	if (config.services[service].embeddable) {
-		if (!config.services[service].frontends[divs[service].frontend.value].instanceList) {
+		if (!config.services[service].frontends[divs[service].frontend.value].embeddable) {
 			divs[service].embedFrontend.disabled = false
 			for (const frontend in config.services[service].frontends) {
 				if (config.services[service].frontends[frontend].embeddable) {