Closed elvismdev closed 9 years ago
Solved with this trick
<script type="text/javascript">
jQuery('#fire_chat_form > textarea').keydown(function(event) {
if (event.keyCode == 13) {
$('#fire_chat_form > input[type=submit]').click();
return false;
}
});
</script>
Enable enter button to submit message into chat