alumuko / vanilla-datetimerange-picker

A JavaScript component that is a date & time range picker, no need to build, no dependencies except Moment.js, that is based on Dan Grossman's bootstrap-daterangepicker.
MIT License
148 stars 17 forks source link

Update vanilla-datetimerange-picker.js #5

Closed spin0us closed 2 years ago

spin0us commented 2 years ago

In use strict mode, using autoApply generates an error message Uncaught TypeError: e is undefined vanilla-datetimerange-picker.js:1476:13. By changing these two lines the error disappears.