Fixed a few more typos

This commit is contained in:
Tracker-Friendly 2024-07-30 15:26:47 +01:00
parent fd4e2de9ca
commit b0db982e98
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ changeButton.addEventListener("click", () => {
if (parseInt(version["versionnum"]) < parseInt(fetchClientVersion)) {
localStorage.setItem("legacy", "true")
}
localStorage.setItem("homeserverURL", remote)
localStorage.setItem("SETTING-homeServer", remote)
if (document.referrer !== "") {
window.location.href = document.referrer;
@ -72,7 +72,7 @@ changeButton.addEventListener("click", () => {
let homeserverInt = parseFloat(homeserverFloat) * 100
if (homeserverInt < 200) {
localStorage.setItem("legacy", "true")
localStorage.setItem("homeserverURL", remote)
localStorage.setItem("SETTING-homeServer", remote)
if (document.referrer !== "") {
window.location.href = document.referrer;
}
@ -81,7 +81,7 @@ changeButton.addEventListener("click", () => {
}
} else if (homeserverInt > 200) {
localStorage.setItem("legacy", "false")
localStorage.setItem("homeserverURL", remote)
localStorage.setItem("SETTING-homeServer", remote)
if (document.referrer !== "") {
window.location.href = document.referrer;
}

View File

@ -15,7 +15,7 @@ if (secretKey === null || password === null) {
}
if (remote == null) {
localStorage.setItem("homeserverURL", "https://notes.hectabit.org")
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
remote = "https://notes.hectabit.org"
}