amsul / pickadate.js

The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
http://amsul.ca/pickadate.js
MIT License
7.7k stars 1.02k forks source link

Removed setTimeOut in stop method #1247

Open Brank opened 1 year ago

Brank commented 1 year ago

setTimeOut for unbinding in stop method has been removed, due to the fact it was provoking errors when trying to reinitialize the datepicker. Re-initialize is to call the method stop() and then start() or datepicker. The result was having the datepicker initialized but nothing happened when clicking on it (because the events were unbinding by the previous close call)