changes
This commit is contained in:
parent
890fa31ed4
commit
5589fb8042
BIN
chatserver
BIN
chatserver
Binary file not shown.
@ -452,8 +452,10 @@ function initializeTheme() {
|
|||||||
document.addEventListener("keyup", function (event) {
|
document.addEventListener("keyup", function (event) {
|
||||||
const inputPanel = document.getElementById("message");
|
const inputPanel = document.getElementById("message");
|
||||||
if (inputPanel.contains(event.target) && event.key === "ArrowUp") {
|
if (inputPanel.contains(event.target) && event.key === "ArrowUp") {
|
||||||
|
if (inputPanel.value === "") {
|
||||||
inputPanel.value = lastMessage;
|
inputPanel.value = lastMessage;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
async function initialize() {
|
async function initialize() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user