Bugfix: scrollTop/scrollLeft never worked because .b-content has overflow:auto not the sub-div .content

This commit is contained in:
djmaze 2020-08-06 16:14:50 +02:00
parent b3dd0c51b5
commit e1b274fcb4
10 changed files with 28 additions and 32 deletions

View file

@ -128,7 +128,7 @@ class AbstractSettingsScreen extends AbstractScreen {
);
});
$('#rl-content .b-settings .b-content .content').scrollTop(0);
$('#rl-content .b-settings .b-content')[0].scrollTop = 0;
}
// --