règles v1
This commit is contained in:
parent
c987b0caba
commit
a35fd4aafb
@ -226,14 +226,15 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}, 1000);
|
||||
|
||||
function showTyping(username) {
|
||||
if (!typingIndicator) return;
|
||||
typingIndicator.textContent = `${username} is typing...`;
|
||||
clearTimeout(typingTimeout);
|
||||
typingTimeout = setTimeout(() => {
|
||||
typingIndicator.textContent = '';
|
||||
if (typingIndicator) typingIndicator.textContent = '';
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
chatInput.addEventListener('input', () => {
|
||||
chatInput?.addEventListener('input', () => {
|
||||
if (ws && ws.readyState === WebSocket.OPEN) {
|
||||
ws.send(JSON.stringify({
|
||||
type: 'typing',
|
||||
@ -244,7 +245,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
});
|
||||
|
||||
chatForm.addEventListener('submit', (e) => {
|
||||
chatForm?.addEventListener('submit', (e) => {
|
||||
e.preventDefault();
|
||||
const content = chatInput.value.trim();
|
||||
const file = fileUpload.files[0];
|
||||
|
||||
@ -49,3 +49,12 @@
|
||||
2026-02-15 23:52:56 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:53:22 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:54:12 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:55:22 - GET /?fl_project=38443 - POST: []
|
||||
2026-02-15 23:55:42 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:55:45 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:56:14 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:56:41 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:57:05 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:57:30 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
2026-02-15 23:57:46 - GET /index.php?server_id=1&channel_id=6 - POST: []
|
||||
2026-02-15 23:57:49 - GET /index.php?server_id=1&channel_id=11 - POST: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user