Fixed a few more typos
This commit is contained in:
parent
fd4e2de9ca
commit
b0db982e98
|
@ -50,7 +50,7 @@ changeButton.addEventListener("click", () => {
|
||||||
if (parseInt(version["versionnum"]) < parseInt(fetchClientVersion)) {
|
if (parseInt(version["versionnum"]) < parseInt(fetchClientVersion)) {
|
||||||
localStorage.setItem("legacy", "true")
|
localStorage.setItem("legacy", "true")
|
||||||
}
|
}
|
||||||
localStorage.setItem("homeserverURL", remote)
|
localStorage.setItem("SETTING-homeServer", remote)
|
||||||
|
|
||||||
if (document.referrer !== "") {
|
if (document.referrer !== "") {
|
||||||
window.location.href = document.referrer;
|
window.location.href = document.referrer;
|
||||||
|
@ -72,7 +72,7 @@ changeButton.addEventListener("click", () => {
|
||||||
let homeserverInt = parseFloat(homeserverFloat) * 100
|
let homeserverInt = parseFloat(homeserverFloat) * 100
|
||||||
if (homeserverInt < 200) {
|
if (homeserverInt < 200) {
|
||||||
localStorage.setItem("legacy", "true")
|
localStorage.setItem("legacy", "true")
|
||||||
localStorage.setItem("homeserverURL", remote)
|
localStorage.setItem("SETTING-homeServer", remote)
|
||||||
if (document.referrer !== "") {
|
if (document.referrer !== "") {
|
||||||
window.location.href = document.referrer;
|
window.location.href = document.referrer;
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ changeButton.addEventListener("click", () => {
|
||||||
}
|
}
|
||||||
} else if (homeserverInt > 200) {
|
} else if (homeserverInt > 200) {
|
||||||
localStorage.setItem("legacy", "false")
|
localStorage.setItem("legacy", "false")
|
||||||
localStorage.setItem("homeserverURL", remote)
|
localStorage.setItem("SETTING-homeServer", remote)
|
||||||
if (document.referrer !== "") {
|
if (document.referrer !== "") {
|
||||||
window.location.href = document.referrer;
|
window.location.href = document.referrer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ if (secretKey === null || password === null) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (remote == null) {
|
if (remote == null) {
|
||||||
localStorage.setItem("homeserverURL", "https://notes.hectabit.org")
|
localStorage.setItem("SETTING-homeServer", "https://notes.hectabit.org")
|
||||||
remote = "https://notes.hectabit.org"
|
remote = "https://notes.hectabit.org"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue