1
0
mirror of https://github.com/videojs/video.js.git synced 2025-11-06 09:19:15 +02:00

revert: "fix(play-toggle): call event.stopPropagation in the click handler (#5803)" (#6128)

PR #5083 introduces a fix to #5624, an issue with click events when
Polymer's tap gesture is being used. However, this causes an issue where
`player.on('click')` no longer triggers from the play toggle. Thus, we
revert the change. In addition, looking at Polymer 2 and 3, they
recommend against using the tap gesture.

Fixes #6092
This commit is contained in:
Gary Katsevman
2019-07-24 15:58:38 -04:00
committed by GitHub
parent b9fbd0bbaa
commit 15ff8f7242

View File

@@ -61,7 +61,6 @@ class PlayToggle extends Button {
} else {
this.player_.pause();
}
event.stopPropagation();
}
/**