src/cm/media/js/client/c_icomments.js
changeset 331 7ddb9fa9c3f2
parent 329 00df963f91fb
child 337 614669e0e313
equal deleted inserted replaced
330:db7616686c57 331:7ddb9fa9c3f2
   186 					if (nextY == null) {
   186 					if (nextY == null) {
   187 						var xy = iComment.getPosition() ;
   187 						var xy = iComment.getPosition() ;
   188 						nextY = xy[1] ;
   188 						nextY = xy[1] ;
   189 					}
   189 					}
   190 					
   190 					
   191           if (iComment.commentId == focusCommentId)
   191           if (iComment.commentId >= focusCommentId)
   192   					this._a.push(iComment.setAnimationToPosition([iCommentX, nextY], focusCommentId)) ;
   192   					this._a.push(iComment.setAnimationToPosition([iCommentX, nextY], focusCommentId)) ;
   193           else
   193           else
   194   					this._a.push(iComment.setAnimationToPosition([iCommentX, nextY])) ;
   194   					this._a.push(iComment.setAnimationToPosition([iCommentX, nextY])) ;
   195 					nextY += iComment.getHeight() ;
   195 					nextY += iComment.getHeight() ;
   196 				}
   196 				}