|
|
@@ -144,6 +144,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
function fallbackRequest(element) { |
|
|
|
console.debug("fallbackRequest"); |
|
|
|
if (!escEvt) { |
|
|
|
escEvt = true; |
|
|
|
|
|
|
@@ -162,6 +163,8 @@ |
|
|
|
} |
|
|
|
|
|
|
|
useviewport = allowviewport; |
|
|
|
|
|
|
|
console.debug("fallbackReqeust.userviewport"); |
|
|
|
|
|
|
|
if (useviewport) request(element); |
|
|
|
} |
|
|
@@ -199,6 +202,8 @@ |
|
|
|
element = isValid(element); |
|
|
|
|
|
|
|
if (!element) return; |
|
|
|
|
|
|
|
console.debug("element is valid"); |
|
|
|
|
|
|
|
if (sc) { |
|
|
|
element.requestFullscreen(); |
|
|
|