Uncaught TypeError: Cannot read property '0' of undefined
its, because the emoji cant find the jHMTLArea.
Any ideas?
OW.bind("base.initjHtmlArea", function( event ){//console.log("starting",this);pasteEmoji = function (emoji,emojiarea) { this.pasteHTML(emoji); this.updateTextArea();}.bind(this);triggerUpdateHtmlArea = function (val,emojiarea){$(emojiarea).val(val);this.updateHtmlArea();}.bind(this);areatriggered = this.textarea[0];ejht = startemojiHTML(areatriggered, pasteEmoji, triggerUpdateHtmlArea); });