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

@@ -106,7 +106,7 @@ angular.module('osk').directive('guacOsk', [function guacOsk() {
};
// Resize keyboard whenever element changes size
resizeSensor.contentWindow.addEventListener('resize', resizeListener);
resizeSensor.contentDocument.defaultView.addEventListener('resize', resizeListener);
}