Fix btn mistype
This commit is contained in:
parent
b00f570caf
commit
c4512f205a
@ -142,7 +142,7 @@ export default class PopupDatePicker extends PopupElement {
|
||||
|
||||
this.timeDiv.append(this.hoursInputField.container, delimiter, this.minutesInputField.container);
|
||||
|
||||
attachClickEvent(this.btnClose, () => {
|
||||
attachClickEvent(this.btnConfirm, () => {
|
||||
if(this.onPick) {
|
||||
this.selectedDate.setHours(+this.hoursInputField.value || 0, +this.minutesInputField.value || 0, 0, 0);
|
||||
this.onPick(this.selectedDate.getTime() / 1000 | 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user