diff --git a/framework/yii/views/errorHandler/main.php b/framework/yii/views/errorHandler/main.php index bf4e506..3bf5bca 100644 --- a/framework/yii/views/errorHandler/main.php +++ b/framework/yii/views/errorHandler/main.php @@ -460,10 +460,10 @@ window.onload = function() { } lineNumbers[i].style.top = parseInt(lines[i].top - top) + 'px'; hoverLines[i].style.top = parseInt(lines[i].top - top) + 'px'; - hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top) + 'px'; + hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px'; if (parseInt(callStackItem.getAttribute('data-line')) == i) { errorLine.style.top = parseInt(lines[i].top - top) + 'px'; - errorLine.style.height = parseInt(lines[i].bottom - lines[i].top) + 'px'; + errorLine.style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px'; } } };