diff --git a/resources/views/server/index.blade.php b/resources/views/server/index.blade.php index 38b6206ba..5cfec8a2c 100644 --- a/resources/views/server/index.blade.php +++ b/resources/views/server/index.blade.php @@ -326,7 +326,7 @@ $(window).load(function () { $('#consoleThrottled').addClass('hidden'); } - for (var i = 0; i < {{ env('CONSOLE_PUSH_COUNT', 10) }}; i++) + for (var i = 0; i < {{ env('CONSOLE_PUSH_COUNT', 10) }} && outputQueue.length > 0; i++) { terminal.echo(outputQueue[0]); outputQueue.shift();