--- a/includes/clientside/static/loader.js Sun Jun 22 18:13:59 2008 -0400
+++ b/includes/clientside/static/loader.js Tue Jun 24 23:37:23 2008 -0400
@@ -6,35 +6,18 @@
{
window.onkeydown = isKeyPressed;
window.onkeyup = function(e) { isKeyPressed(e); };
- Fat.fade_all();
- fadeInfoBoxes();
- jBoxInit();
- if(typeof (dbx_set_key) == 'function')
+
+ if ( typeof(dbx_set_key) == 'function')
{
dbx_set_key();
}
- initSliders();
+
runOnloadHooks(e);
}
-// if some dumb plugin set an onload function, preserve it
-var ld;
-if ( window.onload)
-{
- ld = window.onload;
-}
-else
-{
- ld = function() {return;};
-}
-
// Enano's main init function.
function enano_init(e)
{
- if ( typeof(ld) == 'function' )
- {
- ld(e);
- }
mdgInnerLoader(e);
// we're loaded; set flags to true