includes/clientside/static/faders.js
changeset 419 b8b4e38825db
parent 326 ab66d6d1f1f4
child 461 717e71109645
equal deleted inserted replaced
418:322fa0c91303 419:b8b4e38825db
   366   var divs = new Array();
   366   var divs = new Array();
   367   d = document.getElementsByTagName('div');
   367   d = document.getElementsByTagName('div');
   368   j = 0;
   368   j = 0;
   369   for(var i in d)
   369   for(var i in d)
   370   {
   370   {
       
   371     if ( !d[i] )
       
   372       continue;
   371     if ( !d[i].tagName )
   373     if ( !d[i].tagName )
   372       continue;
   374       continue;
   373     if(d[i].className=='info-box' || d[i].className=='error-box' || d[i].className=='warning-box' || d[i].className=='question-box')
   375     if(d[i].className=='info-box' || d[i].className=='error-box' || d[i].className=='warning-box' || d[i].className=='question-box')
   374     {
   376     {
   375       divs[j] = d[i];
   377       divs[j] = d[i];