]> git.joonet.de Git - adminer.git/commitdiff
body.onload is not yet available
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 11 Jul 2007 10:56:43 +0000 (10:56 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Wed, 11 Jul 2007 10:56:43 +0000 (10:56 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@121 7c3ca157-0c34-0410-bff1-cbf682f78f5c

design.inc.php

index abd345027f733f1ceebde9e98b6545ca34392134..61823f89859be33a165eb81b588b49e889011c6b 100644 (file)
@@ -28,7 +28,7 @@ TABLE { margin-top: 1em; }
 <?php if ($_SESSION["highlight"] == "jush") { ?>
 <style type="text/css">@import url(http://jush.info/jush.css);</style>
 <script type="text/javascript" src="http://jush.info/jush.js" defer="defer"></script>
-<script type="text/javascript">body.onload = function () { jush.highlight_tag('pre'); }</script>
+<script type="text/javascript">window.onload = function () { jush.highlight_tag('pre'); }</script>
 <?php } ?>
 </head>