From 6dd22ccce7858967c287ad028ea011caefffd2af Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Mon, 22 Jul 2024 21:47:05 +0200 Subject: [PATCH] feat: save settings on Stremio configure button --- comet/templates/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comet/templates/index.html b/comet/templates/index.html index ea8296e..f9930e6 100644 --- a/comet/templates/index.html +++ b/comet/templates/index.html @@ -681,11 +681,11 @@ function getSettingsFromUrl() { const url = window.location.href; // Try parse settings from the URL - if (url.split('/').length < 5) { + if (url.split("/").length < 5) { console.log("no previous settings"); return null; } - const settingsString = url.split('/')[3]; - if (typeof settingsString === 'undefined') { + const settingsString = url.split("/")[3]; + if (typeof settingsString === "undefined") { console.log("can't fetch previous settings", settingsString) return null; }