Fix clear button behavior in Date/Picker.ts
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 11 Mar 2021 09:53:41 +0000 (10:53 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 11 Mar 2021 09:56:06 +0000 (10:56 +0100)
commit0f152ffb23555343a4e61038c4cf186fb4da3cfd
tree2cba9530f9c90f2c7307ac77a4cbf5f17dc2f26c
parenteaa55e3f43fdb870cf5b2d99893b13d0d341532b
Fix clear button behavior in Date/Picker.ts

Before the rewrite to TypeScript both buttons used the same variable name
(`button`). Apparently during the rewrite they have been mixed up. Use a clear
variable name for each to fix the issue.

see 9a11d3a3b9959aea13a700fa4b32ec35bdc064f0
Fixes #4061
ts/WoltLabSuite/Core/Date/Picker.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Date/Picker.js