emoji: Move all emoji picker logic/events into emoji_picker module.

Added emoji_picker.js to static asset pipeline.
This commit is contained in:
Jack Zhang
2017-04-27 01:27:25 -04:00
committed by Tim Abbott
parent 889547ff5e
commit f8b3ce7d15
10 changed files with 259 additions and 236 deletions

View File

@@ -70,7 +70,7 @@ exports.toggle_reaction = function (message_id, emoji_name) {
operation = 'remove';
}
send_reaction_ajax(message_id, emoji_name, operation);
popovers.hide_reactions_popover();
emoji_picker.hide_reactions_popover();
};
var reaction_show_list = []; // local reaction_show_list