diff --git a/event.js b/event.js index 35663e2..4330bdb 100644 --- a/event.js +++ b/event.js @@ -663,7 +663,7 @@ jsaction.event.recreateTouchEventAsClick = function(event) { click['type'] = jsaction.EventType.CLICK; for (const p in event) { const v = event[p]; - if (p != 'type' && p != 'srcElement' && !goog.isFunction(v)) { + if (p != 'type' && p != 'srcElement' && !(typeof v === 'function')) { click[p] = v; } }