mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Hide emoji picker when a message is sent
This commit is contained in:
parent
2d7e7d321a
commit
f975f340a4
@ -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…
Reference in New Issue
Block a user