Skip to content

Commit

Permalink
Fix UV loader error
Browse files Browse the repository at this point in the history
  • Loading branch information
DerpmanDev committed Mar 8, 2024
1 parent b93a57e commit d2167e8
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions static/assets/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,27 +146,6 @@ function visitLastSite() {
location.href = '/~';
}

function enableLogin() {
/*
var userpass = prompt('Set Password:');
if (userpass === '') {
alert('Please enter a valid password.');
} else {
localStorage.setItem('login', 'enablelogin');
alert("You will now use the password '" + userpass + "' to log into the site. Join our Discord if you forget your password.");
localStorage.setItem('wordpass', userpass);
location.href = "/";
}
*/
location.href = '/settings.html#auth';
}

// Function to disable login
function disableLogin() {
localStorage.setItem('login', 'disablelogin');
location.href = "/";
}

function handleSubmenuClick2() {
// useless for testing
alert("hi2");
Expand Down Expand Up @@ -271,5 +250,8 @@ function vAG() {
}
}

if (window.location.protocol === "http:") {
window.location.href = window.location.href.replace("http:", "https:");
}

console.log("%cJoin our Discord! discord.gg/unblocking", "color: cyan; font-size: 20px");

1 comment on commit d2167e8

@hop-deploy
Copy link

@hop-deploy hop-deploy bot commented on d2167e8 Mar 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment Status Build Logs Updated At
v4 ✅ Deployed View Logs 2024-03-08T00:40:58.283Z

Please sign in to comment.