includes/clientside/static/functions.js
changeset 1200 0f94802001ee
parent 1129 d56a55a3011b
child 1227 bdac73ed481e
--- a/includes/clientside/static/functions.js	Mon Dec 28 16:53:19 2009 -0500
+++ b/includes/clientside/static/functions.js	Tue Jan 05 09:50:25 2010 -0500
@@ -879,7 +879,8 @@
   var divs = document.getElementsByTagName('div');
   for(var i = 0; i < divs.length; i++)
   {
-    if(divs[i].style.zIndex > z && divs[i].style.display != 'none' && divs[i].innerHTML != '') z = divs[i].style.zIndex;
+    if ( divs[i].style.zIndex > z && divs[i].style.display != 'none' )
+      z = divs[i].style.zIndex;
   }
   return parseInt(z);
 }