We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you have the same image for many smiley (i. e. ':)' and ':-)'), emoji-menu has duplicate entries.
To avoid this, I changed your code. Here if you want to integrate this feature:
var filenames = []; for (var key in options) { if (options.hasOwnProperty(key)) { var filename = options[key]; var alreadyExists = ($.inArray(filename, filenames) > -1); if (!alreadyExists) { filenames.push(filename); html.push('<a href="javascript:void(0)" title="' + util.htmlEntities(key) + '">' + EmojiArea.createIcon(key) + '<span class="label">' + util.htmlEntities(key) + '</span></a>'); } } }
The text was updated successfully, but these errors were encountered:
Uh, just a note. This makes sense only with another piece: I'm trying to implement also live rendering (issue #3 )
Sorry, something went wrong.
No branches or pull requests
If you have the same image for many smiley (i. e. ':)' and ':-)'), emoji-menu has duplicate entries.
To avoid this, I changed your code.
Here if you want to integrate this feature:
The text was updated successfully, but these errors were encountered: