diff -r de56132c008d -r bdac73ed481e includes/clientside/static/loader.js --- a/includes/clientside/static/loader.js Sun Mar 28 21:49:26 2010 -0400 +++ b/includes/clientside/static/loader.js Sun Mar 28 23:10:46 2010 -0400 @@ -4,30 +4,30 @@ function mdgInnerLoader(e) { - window.onkeydown = isKeyPressed; - window.onkeyup = function(e) { isKeyPressed(e); }; - - if ( typeof(dbx_set_key) == 'function') - { - dbx_set_key(); - } - - runOnloadHooks(e); + window.onkeydown = isKeyPressed; + window.onkeyup = function(e) { isKeyPressed(e); }; + + if ( typeof(dbx_set_key) == 'function') + { + dbx_set_key(); + } + + runOnloadHooks(e); } // Enano's main init function. function enano_init(e) { - mdgInnerLoader(e); - - // we're loaded; set flags to true - console.info('Enano::JS runtime: system init complete'); - onload_complete = true; + mdgInnerLoader(e); + + // we're loaded; set flags to true + console.info('Enano::JS runtime: system init complete'); + onload_complete = true; } // don't init the page if less than IE6 if ( typeof(KILL_SWITCH) == 'boolean' && !KILL_SWITCH ) { - window.onload = enano_init; + window.onload = enano_init; }