clockpicker
clockpicker copied to clipboard
[FIXED] e.originalEvent.touches is empty in chrome
when on a touch device using chrome, the e.originalEvent.touches is empty, so the touch events on the clockpicker weren't working. this is fixed by replacing e.originalEvent.touches[0] with (e.originalEvent.touches[0]===undefined || e.originalEvent.touches.length==0 ? e.originalEvent.changedTouches[0] : e.originalEvent.touches[0]) in the mousedown() function in jquery-clockpicker.js
Hi, I don't maintain the jquery-clockpicker, just the bootstrap-clockpicker. Sorry