This commit is contained in:
Zack Rauen 2017-10-29 16:37:47 -04:00
parent f9e4d68d98
commit 1999baddee
1 changed files with 1 additions and 0 deletions

View File

@ -1346,6 +1346,7 @@ QuickEmoteMenu.prototype.switchQem = function(id) {
emoteIcon.on("click", function () {
var emote = $(this).attr("title");
var ta = utils.getTextArea();
console.log(ta.val().slice(-1) == " " ? ta.val() + emote : ta.val() + " " + emote);
utils.insertText(ta[0], ta.val().slice(-1) == " " ? ta.val() + emote : ta.val() + " " + emote);
});
};