Captions fix

This commit is contained in:
Sam Potts
2017-11-19 17:54:38 +11:00
parent 3f744ef63a
commit 4b62a5c74d
14 changed files with 126 additions and 157 deletions

View File

@ -51,7 +51,7 @@ const fullscreen = {
return false;
}
const target = utils.is.undefined(element) ? document.body : element;
const target = utils.is.nullOrUndefined(element) ? document.body : element;
switch (prefix) {
case '':
@ -71,7 +71,7 @@ const fullscreen = {
return false;
}
const target = utils.is.undefined(element) ? document.body : element;
const target = utils.is.nullOrUndefined(element) ? document.body : element;
return !prefix.length
? target.requestFullScreen()