diff --git a/test/test_slave.html b/test/test_slave.html index 303a58c9b..07ac87388 100644 --- a/test/test_slave.html +++ b/test/test_slave.html @@ -203,7 +203,7 @@ function clear(ctx) { /* Auto-scroll if the scrollbar is near the bottom, otherwise do nothing. */ function checkScrolling() { if ((stdout.scrollHeight - stdout.scrollTop) <= stdout.offsetHeight) { - stdout.scrollTop = stdout.scrollHeight; + stdout.scrollTop = stdout.scrollHeight; } }