Bugfix: type error elementById(...) is null #272

This commit is contained in:
the-djmaze 2022-03-10 13:59:03 +01:00
parent c510959b76
commit 4b02c19aa3

View file

@ -79,7 +79,7 @@ export class AbstractSettingsScreen extends AbstractScreen {
);
});
elementById('rl-settings-subscreen').scrollTop = 0;
(elementById('rl-settings-subscreen') || {}).scrollTop = 0;
// --
}, 1);
}