forked from MarseyWorld/MarseyWorld
fix Enter on iOS (chat)
parent
58879a49a4
commit
71828e6528
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue