Fixed a bug in getHighestZ() that broke login boxes
authorDan
Tue, 05 Jan 2010 09:50:25 -0500
changeset 1200 0f94802001ee
parent 1198 3ec9ac297045
child 1201 9593e62929d1
Fixed a bug in getHighestZ() that broke login boxes
includes/clientside/static/functions.js
--- 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);
 }