summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-02-12 15:53:39 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-02-12 15:53:39 +0000
commit7a8973d40a51bc6917e1eb248600097dda03e0d2 (patch)
tree78f4e100020bc96863cea5dca4f831d2bb800945 /src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
parentbbeecf2b7811971371a1312a376f66a95d4db2ba (diff)
downloadscala-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.js9
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);