# HG changeset patch # User gibus # Date 1289221622 -3600 # Node ID 7ddb9fa9c3f2889eece8ca749b5453e9969972c7 # Parent db7616686c57f536a154909b7945ffe77bffdf8e focus on comment specified as url parameter *even if it is not the last comment of a thread* diff -r db7616686c57 -r 7ddb9fa9c3f2 src/cm/media/js/client/c_icomments.js --- a/src/cm/media/js/client/c_icomments.js Mon Nov 08 14:00:41 2010 +0100 +++ b/src/cm/media/js/client/c_icomments.js Mon Nov 08 14:07:02 2010 +0100 @@ -188,7 +188,7 @@ nextY = xy[1] ; } - if (iComment.commentId == focusCommentId) + if (iComment.commentId >= focusCommentId) this._a.push(iComment.setAnimationToPosition([iCommentX, nextY], focusCommentId)) ; else this._a.push(iComment.setAnimationToPosition([iCommentX, nextY])) ;