mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
Merge branch 'master' into scrollbar
This commit is contained in:
@@ -100,3 +100,4 @@ if (acceptButton) {
|
||||
document.getElementById('chat-room-id').value = chatRoomId
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -220,3 +220,18 @@ setTimeout(function() {
|
||||
window.__proto__.reload = () => { window.location = window.location }
|
||||
})();
|
||||
|
||||
|
||||
// // have enter with JS
|
||||
// const form = document.getElementById("chat-form")
|
||||
// document.getElementById("chat-input").addEventListener("keyup", event => {
|
||||
// if(event == "Enter"){
|
||||
// form.submit();
|
||||
// }
|
||||
// });
|
||||
|
||||
|
||||
document.getElementById("chat-form").addEventListener("click", function(event){
|
||||
event.preventDefault()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user