Update comment

This commit is contained in:
Andreas Hocevar
2021-04-06 12:16:44 +02:00
parent 0da0c903a0
commit 6e7448cc2a

View File

@@ -201,7 +201,7 @@ class MapBrowserEventHandler extends Target {
// to 0). // to 0).
// See http://www.w3.org/TR/pointerevents/#button-states // See http://www.w3.org/TR/pointerevents/#button-states
// We only fire click, singleclick, and doubleclick if nobody has called // We only fire click, singleclick, and doubleclick if nobody has called
// event.stopPropagation() or event.preventDefault(). // event.preventDefault().
if ( if (
this.emulateClicks_ && this.emulateClicks_ &&
!newEvent.defaultPrevented && !newEvent.defaultPrevented &&