Minor tweaks

This commit is contained in:
Sam Potts
2017-12-18 16:57:23 +00:00
parent 423f67b4f4
commit aab53fa91f
10 changed files with 35 additions and 43 deletions

View File

@ -270,7 +270,7 @@ const listeners = {
}
// Disable right click
if (this.config.disableContextMenu) {
if (this.supported.ui && this.config.disableContextMenu) {
utils.on(
this.media,
'contextmenu',