GUAC-958: Work around iOS 7 visibility issue (again) by using object instead of iframe. The resize sensor needs to be where it used to be in the DOM for proper operation.

This commit is contained in:
Michael Jumper
2015-01-29 17:38:47 -08:00
parent 5a95edfb71
commit 5f6f63c5f7
6 changed files with 8 additions and 8 deletions

View File

@@ -339,7 +339,7 @@ angular.module('client').directive('guacClient', [function guacClient() {
});
// If the element is resized, attempt to resize client
resizeSensor.contentWindow.addEventListener('resize', function mainElementResized() {
resizeSensor.contentDocument.defaultView.addEventListener('resize', function mainElementResized() {
// Send new display size, if changed
if (client && display) {