This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Description
There are few issues with send button when the user sends the message:
- EventListener attached to
sendButton changes button permanently. Button doesn't come back to it's original state. There is also text 'send' left, along with not working icon.
- It seems not to send message after first click. It just changes the look of the button, the second click sends the message (if the user didn't click on the icon - in that case message won't be sent either).
- There is difference in the look of the button whether the user sends message by clicking on the button or pressing the enter key (there are two seperated event listeners: on
sendButton and on input - the latter one is triggered by pressing enter key).
After clicking button:

After pressing enter key:
