GUAC-958: Simplify resize handling (use directive). Only install resize handler after object loads.

This commit is contained in:
Michael Jumper
2015-01-29 23:47:17 -08:00
parent 7b8846b786
commit 798e9d28c5
12 changed files with 160 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
<div class="thumbnail-main">
<div class="thumbnail-main" guac-resize="updateDisplayScale">
<!--
Copyright (C) 2014 Glyptodon LLC
@@ -21,9 +21,6 @@
THE SOFTWARE.
-->
<!-- Resize sensor -->
<object type="text/html" class="resize-sensor" data="app/client/templates/blank.html"></object>
<!-- Display -->
<div class="display">
</div>