We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e494acd commit 9f8496dCopy full SHA for 9f8496d
cmsranking/static/Scoreboard.js
@@ -491,7 +491,7 @@ var Scoreboard = new function () {
491
self.scroll_into_view = function (u_id) {
492
var $row = $("tr.user[data-user=" + u_id + "]", self.tbody_el);
493
var $frame = $("#InnerFrame");
494
- var scroll = $row.position().top + $frame.scrollTop() + $row.height() / 2 - $frame.height() / 2;
+ var scroll = $row.position().top + $row.height() / 2 - $frame.height() / 2;
495
$frame.scrollTop(scroll);
496
};
497
0 commit comments