comments: fixed scroll issue.

This commit is contained in:
Marcin Kuzminski 2017-02-01 14:39:26 +01:00
parent 9c43777217
commit 9464700f9b

View file

@ -461,7 +461,9 @@ var CommentsController = function() {
};
this.scrollToComment = function(node, offset, outdated) {
var offset = offset || 1;
if (offset === undefined) {
offset = 0;
}
var outdated = outdated || false;
var klass = outdated ? 'div.comment-outdated' : 'div.comment-current';