More a11y stuff and context menu fix

This commit is contained in:
Sam Potts
2018-04-23 00:01:19 +10:00
parent d2e9ed3467
commit b647af256c
10 changed files with 22 additions and 13 deletions

View File

@ -334,7 +334,7 @@ class Listeners {
// Disable right click
if (this.player.supported.ui && this.player.config.disableContextMenu) {
utils.on(
this.player.media,
this.player.elements.wrapper,
'contextmenu',
event => {
event.preventDefault();