Wrap caption toggle event listener callback to avoid sending event
This commit is contained in:
@ -459,7 +459,7 @@ class Listeners {
|
||||
);
|
||||
|
||||
// Captions toggle
|
||||
bind(this.player.elements.buttons.captions, 'click', this.player.toggleCaptions);
|
||||
bind(this.player.elements.buttons.captions, 'click', () => this.player.toggleCaptions());
|
||||
|
||||
// Fullscreen toggle
|
||||
bind(
|
||||
|
Reference in New Issue
Block a user