fds
This commit is contained in:
parent
1a778a800e
commit
2809f65a9c
2 changed files with 3 additions and 3 deletions
|
@ -13,5 +13,5 @@ socket.on('speak', function(json) {
|
||||||
document.getElementsByClassName('userlink')[0].href = json['userlink']
|
document.getElementsByClassName('userlink')[0].href = json['userlink']
|
||||||
document.getElementsByClassName('username')[0].value = json['username']
|
document.getElementsByClassName('username')[0].value = json['username']
|
||||||
document.getElementsByClassName('chat-message').innerHTML = json['text']
|
document.getElementsByClassName('chat-message').innerHTML = json['text']
|
||||||
document.getElementById('chat-text').append(document.getElementById('chat-line-template .chat-line').cloneNode())
|
document.getElementById('chat-text').append(document.getElementById('chat-line-template').cloneNode())
|
||||||
})
|
})
|
|
@ -23,7 +23,7 @@
|
||||||
<span id="typing-indicator"></span>
|
<span id="typing-indicator"></span>
|
||||||
<span id="loading-indicator" class="d-none"></span>
|
<span id="loading-indicator" class="d-none"></span>
|
||||||
</div>
|
</div>
|
||||||
<input id="input-text" type="text" class="form-control" placeholder="Message #, or type /help" autocomplete="off" autofocus />
|
<input id="input-text" type="text" class="form-control" placeholder="Message" autocomplete="off" autofocus />
|
||||||
<button id="chatsend" class="btn btn-primary ml-3" type="submit">Send</button>
|
<button id="chatsend" class="btn btn-primary ml-3" type="submit">Send</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/assets/js/socketio.js"></script>
|
<script src="/assets/js/socketio.js"></script>
|
||||||
<script src="/assets/js/chat.js?v=6"></script>
|
<script src="/assets/js/chat.js?v=7"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue