Skip to content

Commit 5c8e16b

Browse files
committed
Fix some bugs and server message color changed
1 parent 4e53df2 commit 5c8e16b

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

src/botcheckinterface.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ class BotCheckDiv {
291291
this.reset();
292292
}
293293

294+
click() {
295+
if (this.created) {
296+
this.divElm.click();
297+
}
298+
}
299+
294300
getCheckID() {
295301
return this.checkID;
296302
}

src/chat/elementjson/chat-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
--selected-emoji-popup-dialog-border-width: 2px;
137137
--selected-emoji-popup-dialog-text-color: hsl(134, 100%, 95%);
138138

139-
--server-notifcation-color: hsl(49, 100%, 80%);
139+
--server-notifcation-color: hsl(49, 100%, 50%);
140140

141141
--default-font-weight: 0px;
142142

src/pages/signin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ usernameInput.addEventListener("keydown", function (e) {
115115

116116
passwordInput.addEventListener("keydown", function (e) {
117117
if (e.key == "Enter") {
118-
logIn();
118+
botCheck.click();
119119
}
120120
});

src/pages/signup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ usernameInput.addEventListener("keydown", function (e) {
154154

155155
passwordInput.addEventListener("keydown", function (e) {
156156
if (e.key == "Enter") {
157-
signUp();
157+
botCheck.click();
158158
}
159159
});

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1763123370017"}
1+
{"timestamp":"1763123681385"}

0 commit comments

Comments
 (0)