diff --git a/service.js b/service.js index 2c65595..89185ae 100644 --- a/service.js +++ b/service.js @@ -473,7 +473,7 @@ class BesService { * @param {PointerEvent} event The event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc. */ static handleClick(event) { - const source = event?.detail || event + const source = event?.detail !== 1 ? event?.detail : event const hostElement = BesService.findParent( source.targetElement || source.target )