--- a/includes/clientside/static/dropdown.js Mon Jul 30 10:46:17 2007 -0400
+++ b/includes/clientside/static/dropdown.js Wed Aug 01 13:39:27 2007 -0400
@@ -486,9 +486,12 @@
event = window.event;
}
clX = event.clientX;
- sL = document.body.scrollLeft;
+ if ( document.body )
+ sL = document.body.scrollLeft;
+ else
+ sL = 0;
mouseX = clX + sL;
- mouseY = event.clientY + document.body.scrollTop;
+ mouseY = event.clientY + ( document.body ? document.body.scrollTop : 0 );
return;
}
if( typeof(event.clientX) == 'number' )