mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
Fix function formatting in admin.js
This commit is contained in:
@@ -131,8 +131,12 @@ exports.populate_emoji = function (emoji_data) {
|
|||||||
var emoji_table = $('#admin_emoji_table').expectOne();
|
var emoji_table = $('#admin_emoji_table').expectOne();
|
||||||
emoji_table.find('tr.emoji_row').remove();
|
emoji_table.find('tr.emoji_row').remove();
|
||||||
_.each(emoji_data, function (data, name) {
|
_.each(emoji_data, function (data, name) {
|
||||||
emoji_table.append(templates.render('admin_emoji_list', {emoji: {name: name, source_url: data.source_url,
|
emoji_table.append(templates.render('admin_emoji_list', {
|
||||||
display_url: data.display_url}}));
|
emoji: {
|
||||||
|
name: name, source_url: data.source_url,
|
||||||
|
display_url: data.display_url
|
||||||
|
}
|
||||||
|
}));
|
||||||
});
|
});
|
||||||
loading.destroy_indicator($('#admin_page_emoji_loading_indicator'));
|
loading.destroy_indicator($('#admin_page_emoji_loading_indicator'));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user