fix Enter on iOS (chat)

master
Aevann1 2022-08-26 21:28:29 +02:00
parent 58879a49a4
commit 71828e6528
2 changed files with 2 additions and 4 deletions

View File

@ -120,9 +120,7 @@ function quote(t) {
}
textbox.addEventListener("keyup", function(e) {
console.log(e.shiftKey)
console.log(e.key)
if (!e.shiftKey && e.key === 'Enter') {
if (e.key === 'Enter') {
e.preventDefault();
send()
}

View File

@ -214,6 +214,6 @@
<script src="{{asset('js/lozad.js')}}"></script>
<script src="/assets/js/lite-youtube.js?v=241"></script>
<script src="/chat.js?v=3035"></script>
<script src="/chat.js?v=3036"></script>
</body>