Move bottomscripts down to just above the </body>, outside of the globalWrapper ...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 20:58:44 +0000 (20:58 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 3 Jun 2008 20:58:44 +0000 (20:58 +0000)
This seems to make JS a little more robust against horrible flaming death in MSIE -- bad HTML in site messages combined with some anonnotice DOM work has been known to cause complete page load failure.
This might also be the cause of intermittent IE 7 load failures we haven't been able to reproduce.

skins/MonoBook.php

index 4f27872..146a270 100644 (file)
@@ -270,9 +270,8 @@ class MonoBookTemplate extends QuickTemplate {
 ?>
                        </ul>
                </div>
-               
-       <?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
 </div>
+<?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?>
 <?php $this->html('reporttime') ?>
 <?php if ( $this->data['debug'] ): ?>
 <!-- Debug output: