mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 05:14:21 -04:00
Hide emoji picker when a message is sent
This commit is contained in:
parent
2d7e7d321a
commit
f975f340a4
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ Item
|
|||
|
||||
function sendMessage ()
|
||||
{
|
||||
if (emojiPicker.state == "EMOJI_SHOWN") emojiPicker.state = "EMOJI_HIDDEN"
|
||||
var jsonData = {"chat_id":chatView.chatId, "msg":msgField.text}
|
||||
rsApi.request( "/chat/send_message", JSON.stringify(jsonData),
|
||||
function(par) { msgField.text = ""; } )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue