mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-08-13 12:12:45 -06:00
Merge pull request #28 from padawin/event-ie11
In IE11, clicking on a slider triggered an event which had no pageX/Y…
This commit is contained in:
commit
b17dab0958
@ -57,8 +57,10 @@
|
||||
}
|
||||
|
||||
function resolveEventType(event) {
|
||||
return event.originalEvent.touches ?
|
||||
event = event.originalEvent.touches ?
|
||||
event.originalEvent.touches[0] : event;
|
||||
|
||||
return event.originalEvent ? event.originalEvent : event;
|
||||
}
|
||||
|
||||
function findElement($elm) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user