Skip to content

Commit 0d44381

Browse files
authored
Update login.html
1 parent be7d7d0 commit 0d44381

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

login.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
</style>
103103
</head>
104104
<body>
105-
<button id="logo" onclick="location.reload();">TeaBag</button>
105+
<button id="logo" onclick="homepage()">TeaBag</button>
106106
<noscript id="noscript">Please turn on JavaScript to play TeaBag</noscript>
107107
<div id="directions">
108108
<p id="p">Sign in to start brewing virtual tea</p>
@@ -122,6 +122,9 @@
122122
document.getElementById("submit").style.pointerEvents = "auto";
123123
document.getElementById("submit").style.opacity = "1";
124124
}
125+
function homepage() {
126+
location.replace("https://lb123658.github.io/tea");
127+
}
125128
function signIn() {
126129
var username = document.getElementById("username");
127130
var password = document.getElementById("password");

0 commit comments

Comments
 (0)