We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e214aa commit 2b58bacCopy full SHA for 2b58bac
1 file changed
cmsranking/static/Scoreboard.js
@@ -492,7 +492,7 @@ var Scoreboard = new function () {
492
self.scroll_into_view = function (u_id) {
493
var $row = $("tr.user[data-user=" + u_id + "]", self.tbody_el);
494
var $frame = $("#InnerFrame");
495
- var scroll = $row.position().top + $frame.scrollTop() + $row.height() / 2 - $frame.height() / 2;
+ var scroll = $row.position().top + $row.height() / 2 - $frame.height() / 2;
496
$frame.scrollTop(scroll);
497
};
498
0 commit comments