Skip to content

Commit

Permalink
Merge pull request #468 from jronallo/captions-listener
Browse files Browse the repository at this point in the history
allow for setting additional listener for captions
  • Loading branch information
Sam Potts authored Mar 24, 2017
2 parents f32527f + 96ae866 commit 7490a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/plyr.js
Original file line number Diff line number Diff line change
Expand Up @@ -3066,7 +3066,7 @@
}

// Captions
_on(plyr.buttons.captions, 'click', _toggleCaptions);
_proxyListener(plyr.buttons.captions, 'click', config.listeners.captions, _toggleCaptions);

// Seek tooltip
_on(plyr.progress.container, 'mouseenter mouseleave mousemove', _updateSeekTooltip);
Expand Down

0 comments on commit 7490a7e

Please sign in to comment.