From: Tim Düsterhus Date: Fri, 30 Oct 2020 09:48:42 +0000 (+0100) Subject: Remove useless non-null assertion in Date/Picker.ts X-Git-Tag: 5.4.0_Alpha_1~673 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=25086db11e8034d8543159069f6268fd2d974b4b;p=GitHub%2FWoltLab%2FWCF.git Remove useless non-null assertion in Date/Picker.ts --- 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;