diff options
Diffstat (limited to 'hyperkitty/static/hyperkitty/js/hyperkitty-thread.js')
-rw-r--r-- | hyperkitty/static/hyperkitty/js/hyperkitty-thread.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hyperkitty/static/hyperkitty/js/hyperkitty-thread.js b/hyperkitty/static/hyperkitty/js/hyperkitty-thread.js index e6c726f..c7b69a5 100644 --- a/hyperkitty/static/hyperkitty/js/hyperkitty-thread.js +++ b/hyperkitty/static/hyperkitty/js/hyperkitty-thread.js @@ -145,6 +145,7 @@ function setup_favorites() { } + /* * Replies */ @@ -297,9 +298,13 @@ function setup_unreadnavbar(element) { } + /* * Thread replies list + * Updates the list of replies in a thread chunk-by-chunk to avoid blocking the + * UI */ + function update_thread_replies(url) { function load_more(current_url) { $.ajax({ @@ -315,6 +320,7 @@ function update_thread_replies(url) { fold_quotes(newcontent); setup_disabled_tooltips(newcontent); setup_vote(newcontent); + setup_attachments(newcontent); // load the rest if applicable if (data.more_pending) { load_more(url+"&offset="+data.next_offset); |