Skip to content

Commit

Permalink
feat: save settings on Stremio configure button
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy authored Jul 22, 2024
1 parent 446e3c9 commit 6dd22cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions comet/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6dd22cc

Please sign in to comment.