Browse files

Adding workaround for documentElement.clientHeight to host file

  • Loading branch information...
1 parent 8c252ca commit 026478dd6449d943d118605c13975ef5587a08ba @lsmith lsmith committed Nov 8, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/host.php
View
4 tests/host.php
@@ -24,7 +24,7 @@
}
}
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!doctype html>
<html>
<head>
@@ -84,7 +84,7 @@
</div>
<script>(function () {
- //document.getElementById('gadget_body___').style.height = document.documentElement.clientHeight + 'px';
+ document.getElementById('gadget_body___').style.height = document.documentElement.clientHeight + 'px';
var testImports = ___.copy(___.sharedImports);
testImports.outers = testImports;

0 comments on commit 026478d

Please sign in to comment.