Small tweaks
parent
30d1429e83
commit
caf96d1d04
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>watch party :D</title>
|
||||
<link rel="stylesheet" href="/styles.css?v=1" />
|
||||
<link rel="stylesheet" href="/styles.css?v=2" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -47,6 +47,6 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<script src="/main.js?v=1"></script>
|
||||
<script src="/main.js?v=2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -253,6 +253,7 @@ const setupChatboxEvents = (socket) => {
|
|||
|
||||
const input = chatForm.querySelector("input");
|
||||
const content = input.value;
|
||||
if (content.trim().length) {
|
||||
input.value = "";
|
||||
|
||||
socket.send(JSON.stringify({
|
||||
|
@ -261,6 +262,7 @@ const setupChatboxEvents = (socket) => {
|
|||
"message": content,
|
||||
}
|
||||
}));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -118,7 +118,8 @@ button.small-button {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.user-join {
|
||||
.user-join,
|
||||
.user-leave {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue