##// END OF EJS Templates
comments: fixed scroll issue.
marcink -
r1386:ca74a2f4 default
parent child Browse files
Show More
@@ -461,7 +461,9 b' var CommentsController = function() {'
461 };
461 };
462
462
463 this.scrollToComment = function(node, offset, outdated) {
463 this.scrollToComment = function(node, offset, outdated) {
464 var offset = offset || 1;
464 if (offset === undefined) {
465 offset = 0;
466 }
465 var outdated = outdated || false;
467 var outdated = outdated || false;
466 var klass = outdated ? 'div.comment-outdated' : 'div.comment-current';
468 var klass = outdated ? 'div.comment-outdated' : 'div.comment-current';
467
469
General Comments 0
You need to be logged in to leave comments. Login now