Fixed bug #4817: Clickmenu shows up at the wrong place
[Packages/TYPO3.CMS.git] / typo3 / template.php
index 0f975a3..03dd9c3 100755 (executable)
@@ -1346,10 +1346,8 @@ $str.=$this->docBodyTagBegin().
                                                GLV_x = GLV_xRel;
                                                GLV_y = GLV_yRel;
                                                
-                                               if (this.safari)        {
-                                                       GLV_x = GLV_xRel + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
-                                                       GLV_y = GLV_yRel + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
-                                               }
+                                               GLV_x = GLV_xRel + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
+                                               GLV_y = GLV_yRel + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
                                                
                                        //      status = (GLV_x+GLV_gap-GLV_curLayerX[0]) + " | " + (GLV_y+GLV_gap-GLV_curLayerY[0]);
                                                if (GLV_isVisible[1])   {