From 4b02c19aa3ca193364248da3675073a1935d2223 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 10 Mar 2022 13:59:03 +0100 Subject: [PATCH] Bugfix: type error elementById(...) is null #272 --- dev/Screen/AbstractSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Screen/AbstractSettings.js b/dev/Screen/AbstractSettings.js index 455617294..09ae5d585 100644 --- a/dev/Screen/AbstractSettings.js +++ b/dev/Screen/AbstractSettings.js @@ -79,7 +79,7 @@ export class AbstractSettingsScreen extends AbstractScreen { ); }); - elementById('rl-settings-subscreen').scrollTop = 0; + (elementById('rl-settings-subscreen') || {}).scrollTop = 0; // -- }, 1); }