Skip to content

Commit

Permalink
deleting the link with / in them
Browse files Browse the repository at this point in the history
  • Loading branch information
LRPerzus committed Feb 10, 2023
1 parent 3566926 commit 8328074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GatchaWheel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$(document).ready(function () {
if ((localStorage.getItem("username") == null) &&(localStorage.getItem("pwd") == null) ){
window.location.replace("/signin.html");
window.location.replace("signin.html");
}

})
Expand Down
2 changes: 1 addition & 1 deletion logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $(document).ready(function () {

function logout() {
localStorage.clear()
window.location.replace("/index.html");
window.location.replace("index.html");

}

Expand Down

0 comments on commit 8328074

Please sign in to comment.