ericjgagnon / wickedpicker

A simple jQuery timepicker
http://ericjgagnon.github.io/wickedpicker/
MIT License
93 stars 78 forks source link

Fix for show/hide seconds with multiple pickers on page #78

Open cheesegrits opened 5 years ago

cheesegrits commented 5 years ago

If you have multiple pickers with different formats, one with and one without seconds, the picker only uses the first one created. This PR fixes the showHideSecondsControl() method so it is a) called and b) correctly shows and hides the seconds and separator.