Open ZeRego opened 10 years ago
Solution, for now, remove the "touchend.timepicker" from the "on" event trigger.
Use this css trick...
<span>
<input class="input-sm time-pick form-control" name="time_start" type="text">
</span>
<span>
<input class="input-sm time-pick form-control" name="time_end" type="text">
</span>
Check this link http://jsfiddle.net/kW3G7/592/
I notice a strange behavior when there are multiple timepickers in the same page. After switching between the two timepickers, eventually one of them isn't removed/hidden, and will persist till we refresh the page.
I thought it was a problem with my code but then i did a test with a simple bootstrap example i found on google.
Fiddle bug example: http://jsfiddle.net/kW3G7/282/
The only code that is used is: $('.timepicker').timepicker();
Thanks in advance.
Edit: It seems that the timepicker stops calling the document onclick event(code above)