includes/clientside/static/l10n.js
changeset 472 bc4b58034f4d
parent 468 194a19711346
child 520 4c16e87cfeae
equal deleted inserted replaced
471:7906fb190fc1 472:bc4b58034f4d
    75 
    75 
    76 // Rescheduler for language onload - allows delaying init if the string list
    76 // Rescheduler for language onload - allows delaying init if the string list
    77 // isn't ready yet
    77 // isn't ready yet
    78 function language_onload_resched()
    78 function language_onload_resched()
    79 {
    79 {
       
    80   if ( window.console )
       
    81   {
       
    82     window.console.info('Delaying language init by 0.2s because language_onload decided that enano_lang[ENANO_LANG_ID] isn\'t ready');
       
    83   }
    80   setTimeout('language_onload();', 200);
    84   setTimeout('language_onload();', 200);
    81 }
    85 }
    82 
    86 
    83 addOnloadHook(language_onload);
    87 addOnloadHook(language_onload);
    84 
    88