Index: trunk/core/kernel/utility/debugger/debugger.js =================================================================== diff -u -r7702 -r7855 --- trunk/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 7702) +++ trunk/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 7855) @@ -243,14 +243,18 @@ function GetWindowHeight() { var currWinHeight; + +// if (document.body.clientHeight) { +// currWinHeight = document.body.clientHeight; + if (window.innerHeight) {//FireFox with correction for status bar at bottom of window - currWinHeight = window.innerHeight - 10; + currWinHeight = window.innerHeight; } else if (document.documentElement.clientHeight) {//IE 7 with correction for address bar - currWinHeight = document.documentElement.clientHeight - 10; + currWinHeight = document.documentElement.clientHeight; } else if (document.body.offsetHeight) {//IE 4+ - currWinHeight = document.body.offsetHeight - 5 + 15 - 10; // + 10 + currWinHeight = document.body.offsetHeight + 10; } - return currWinHeight; + return currWinHeight - 10; // 10 - horizontal scrollbar height }