[mirotalk] - close emoji picker on chat-room close

This commit is contained in:
Miroslav Pejic
2021-02-20 17:26:26 +01:00
parent 96e35505d7
commit 1ebb8c5625
+2 -1
View File
@@ -981,9 +981,10 @@ function setChatRoomBtn() {
// close chat room - show left button and time if hide
msgerClose.addEventListener("click", (e) => {
msgerDraggable.style.display = "none";
msgerEmojiPicker.style.display = "none";
chatRoomBtn.className = "fas fa-comment";
isChatRoomVisible = false;
hideShowEmojiPicker();
isChatEmojiVisible = false;
showLeftButtons();
checkCountTime();
});