equal
deleted
inserted
replaced
425 _showComments : function(commentDbIds, topY, atDocumentTop) { |
425 _showComments : function(commentDbIds, topY, atDocumentTop) { |
426 this._q.add( |
426 this._q.add( |
427 {fn:function() { |
427 {fn:function() { |
428 gShowingAllComments = atDocumentTop ; |
428 gShowingAllComments = atDocumentTop ; |
429 gIComments.hide() ; |
429 gIComments.hide() ; |
|
430 hideToc(); |
430 var cs = CY.Array.map(commentDbIds, function(id) { return gDb.getComment(id) ; }) ; |
431 var cs = CY.Array.map(commentDbIds, function(id) { return gDb.getComment(id) ; }) ; |
431 var comments = gDb.getThreads(cs) ; |
432 var comments = gDb.getThreads(cs) ; |
432 gIComments.fetch(comments) ; |
433 gIComments.fetch(comments) ; |
433 |
434 |
434 if (commentDbIds.length > 0) { |
435 if (commentDbIds.length > 0) { |