diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-02-12 15:53:39 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2010-02-12 15:53:39 +0000 |
commit | 7a8973d40a51bc6917e1eb248600097dda03e0d2 (patch) | |
tree | 78f4e100020bc96863cea5dca4f831d2bb800945 /src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | |
parent | bbeecf2b7811971371a1312a376f66a95d4db2ba (diff) | |
download | scala-7a8973d40a51bc6917e1eb248600097dda03e0d2.tar.gz scala-7a8973d40a51bc6917e1eb248600097dda03e0d2.tar.bz2 scala-7a8973d40a51bc6917e1eb248600097dda03e0d2.zip |
[scaladoc] Fixes for IE 8 compatibility.
Diffstat (limited to 'src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js b/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js index 09e298e98a..1ae4a7d708 100644 --- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js +++ b/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js @@ -9,6 +9,15 @@ var domCache = undefined; $(document).ready(function() { + // workaround for IE's iframe sizing lack of smartness + if($.browser.msie) { + function fixIFrame() { + $('iframe').height($(window).height() ) + } + $('iframe').bind("load",fixIFrame) + $('iframe').bind("resize",fixIFrame) + } + scheduler = new Scheduler(); scheduler.addLabel("init", 5); scheduler.addLabel("focus", 7); |