Merge pull request #161 from schrej/patch-1
only push stuff from the terminal outputQueue if there is something i…
This commit is contained in:
commit
b586feab2d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue