Closed evdevel closed 5 years ago
https://github.com/nazar-pc/PickMeUp/blob/f886f03eaad532f5ba5ff6b7706eff5fd341bf40/js/pickmeup.js#L550
I think that the check is not working correctly. For example, if I pass time in milliseconds in the max parameter, then the check will not work. Probably worth checking out in the following way. typeof date === 'number'
typeof date === 'number'
I think you are right, PR is definitely welcomed
Fixed in 3.2.1
https://github.com/nazar-pc/PickMeUp/blob/f886f03eaad532f5ba5ff6b7706eff5fd341bf40/js/pickmeup.js#L550
I think that the check is not working correctly. For example, if I pass time in milliseconds in the max parameter, then the check will not work. Probably worth checking out in the following way.
typeof date === 'number'