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