Couple of visual tweaks

This commit is contained in:
Latif Khalifa
2013-10-13 11:00:43 +02:00
parent a787ed7255
commit 8ccc4986ac
2 changed files with 5 additions and 4 deletions

View File

@@ -71,9 +71,9 @@ $filter->render();
x -= dwidth + 40;
}
var y = e.pageY + $(document).scrollTop();
var y = e.pageY - $(document).scrollTop();
var dheight = $dialog.height();
if (dheight < 40) dheight = 40;
if (dheight < 70) dheight = 70;
//console.debug("y=" + y + "; wheight=" + $(window).height() + ": dheight=" + dheight);
if (y < $(window).height() - dheight - 40)
{