Skip to content

Commit 13fea35

Browse files
committed
fixed syntax error: this.element.val() -> this.element.value
1 parent b5e31b3 commit 13fea35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/vanilla-datetimerange-picker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ var DateRangePicker;
15931593
}
15941594

15951595
if (this.singleDatePicker || start === null || end === null) {
1596-
start = moment(this.element.val(), this.locale.format);
1596+
start = moment(this.element.value, this.locale.format);
15971597
end = start;
15981598
}
15991599

0 commit comments

Comments
 (0)