Merge pull request #88 from liradb2000/master

Support Microsoft Edge browser
This commit is contained in:
Javi Agenjo
2019-11-04 14:25:52 +01:00
committed by GitHub

View File

@@ -10175,7 +10175,8 @@ LGraphNode.prototype.executeAction = function(action)
if (
options.event &&
options.event.constructor !== MouseEvent &&
options.event.constructor !== CustomEvent
options.event.constructor !== CustomEvent &&
options.event.constructor !== PointerEvent
) {
console.error(
"Event passed to ContextMenu is not of type MouseEvent or CustomEvent. Ignoring it."