-
cmrd Senya authored
If you look at comment expand process with javascript debugger, you will notice that at first comments get added to existing stream ("add" event handler of model.comments gets launched because of model.comments.fetch). Then the comment stream gets empty and then filled by the postRenderTemplate handler. This patch removes comments rerendering on the expansion. The fetching process is changed so that older comments are added to the correct place, so the order looks nice without rerendering. Thus, unnecessary job of rerendering is avoided.