equal
deleted
inserted
replaced
395 else |
395 else |
396 topY = CY.get('document').get('scrollTop') ; |
396 topY = CY.get('document').get('scrollTop') ; |
397 |
397 |
398 this._showComments([topComment.id], topY, false) ; |
398 this._showComments([topComment.id], topY, false) ; |
399 // optim when browsing comments with no reply |
399 // optim when browsing comments with no reply |
400 if (topComment.replies.length > 0) |
400 if (topComment.replies.length > 0 || reply) |
401 this._animateToAndFocus(topY, focusComment.id, reply) ; |
401 this._animateToAndFocus(topY, focusComment.id, reply) ; |
402 } |
402 } |
403 }, |
403 }, |
404 |
404 |
405 showSingleComment : function(comment) { |
405 showSingleComment : function(comment) { |