diff -r b8b4e38825db -r 301f546688d1 includes/clientside/static/loader.js --- a/includes/clientside/static/loader.js Tue Feb 12 22:17:58 2008 -0500 +++ b/includes/clientside/static/loader.js Wed Feb 13 21:59:07 2008 -0500 @@ -2,7 +2,6 @@ function mdgInnerLoader(e) { - jws.startup(); if(window.location.hash == '#comments') ajaxComments(); window.onkeydown=isKeyPressed; window.onkeyup=function(e) { isKeyPressed(e); }; @@ -18,10 +17,14 @@ initSliders(); runOnloadHooks(e); } -if(window.onload) var ld = window.onload; -else var ld = function() {return;}; +var ld; +if(window.onload) ld = window.onload; +else ld = function() {return;}; function enano_init(e) { - ld(e); + if ( typeof(ld) == 'function' ) + { + ld(e); + } mdgInnerLoader(e); }