Hide emojipicker when clicked outside

This commit is contained in:
Jeremy Zhang 2018-03-21 17:10:53 +00:00
parent b64eb0193d
commit 07cb047516

View File

@ -1473,6 +1473,11 @@
$("#chatcontent").bind("click", function () { $("#chatcontent").bind("click", function () {
$("#mention-picker").hide(); $("#mention-picker").hide();
wdtEmojiBundle.close();
});
$("#messagebox").bind("click", function () {
wdtEmojiBundle.close();
}); });
$('#messagebox').bind('input keydown click', function(event) { $('#messagebox').bind('input keydown click', function(event) {