clockpicker icon indicating copy to clipboard operation
clockpicker copied to clipboard

[FIXED] e.originalEvent.touches is empty in chrome

Open suzanne-edelman opened this issue 7 years ago • 1 comments

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

suzanne-edelman avatar Jan 14 '19 16:01 suzanne-edelman

Hi, I don't maintain the jquery-clockpicker, just the bootstrap-clockpicker. Sorry

djibe avatar Mar 02 '19 16:03 djibe