From 25086db11e8034d8543159069f6268fd2d974b4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 30 Oct 2020 10:48:42 +0100 Subject: [PATCH] Remove useless non-null assertion in Date/Picker.ts --- wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker.ts index 3ae49d1d20..f6ac53e265 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Date/Picker.ts @@ -608,7 +608,7 @@ function maintainFocus(event: FocusEvent): void { sibling.focus(); _wasInsidePicker = false; } else { - _datePicker!.querySelector(".previous")!.focus(); + _datePicker.querySelector(".previous")!.focus(); } } else { _wasInsidePicker = true; -- 2.20.1