jmadler / emoji-picker

Add a slick emoji selector to input fields and textareas on your website.
Other
1.31k stars 318 forks source link

Uncaught TypeError: Cannot read property 'emojiarea' of undefined at new EmojiPicker (emoji-picker.coffee:8) #114

Closed jacobrossdev closed 6 years ago

jacobrossdev commented 6 years ago

I'm not really sure why this is showing up in Chrome. Shouldn't I be getting an error from the .js file and not the coffee script?

jacobrossdev commented 6 years ago

I figured this out. I deleted the emoji-picker.js.map then I was able to debug the issue from the emoji-picker.js file. Chrome made me think that $ was defined when it wasn't. Since I'm using Wordpress, I had to change all instances of $to jQuery.

MehbubRashid commented 4 years ago

@jacobrossdev thanks..this solved the issue for me too.