IE issue fixed.
This commit is contained in:
parent
a00a08cb8d
commit
69f2901e66
|
|
@ -1206,6 +1206,11 @@ const UI = {
|
||||||
for (let i in iframes) {
|
for (let i in iframes) {
|
||||||
if (iframes[i].contentDocument === document) {
|
if (iframes[i].contentDocument === document) {
|
||||||
doc_el = iframes[i];
|
doc_el = iframes[i];
|
||||||
|
// To use .body.msRequestFullscreen in IE, we need to
|
||||||
|
// set the document element accordingly.
|
||||||
|
// Note that the <iframe> must have the attribute
|
||||||
|
// "allowfullscreen" set for IE to allow the feature.
|
||||||
|
doc = iframes[i].contentDocument;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue