includes/clientside/static/dropdown.js
changeset 57 b354deeaa4c4
parent 40 723bb7acf914
child 80 cb7dde69c301
equal deleted inserted replaced
56:eb8eacb056d1 57:b354deeaa4c4
    38 }
    38 }
    39 
    39 
    40 // Initializes each menu.
    40 // Initializes each menu.
    41 function jBoxBatchSetup()
    41 function jBoxBatchSetup()
    42 {
    42 {
       
    43   if ( KILL_SWITCH )
       
    44     return false;
    43   var menus = document.getElementsByClassName('div', 'menu_nojs');
    45   var menus = document.getElementsByClassName('div', 'menu_nojs');
    44   if ( menus.length > 0 )
    46   if ( menus.length > 0 )
    45   {
    47   {
    46     for ( var i in menus )
    48     for ( var i in menus )
    47     {
    49     {