mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Move all zephyr HTML generation to the client
(imported from commit 3afec768a5cd220c14ce615e03c29ee22754fdf2)
This commit is contained in:
@@ -257,6 +257,10 @@ function add_message(index, zephyr) {
|
||||
$("#table tr:last").after(new_str);
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$(initial_zephyr_json).each(add_message);
|
||||
});
|
||||
|
||||
function get_updates_longpoll(data) {
|
||||
if (data && data.zephyrs) {
|
||||
$.each(data.zephyrs, add_message);
|
||||
|
||||
Reference in New Issue
Block a user