Fix for js console causing browser to become unresponsive (#715)
This commit is contained in:
parent
65a36d35b7
commit
f5feb28ec1
1 changed files with 1 additions and 1 deletions
|
@ -198,8 +198,8 @@ function pushToTerminal(string) {
|
||||||
$('#terminal').html('');
|
$('#terminal').html('');
|
||||||
data.split(/\n/g).forEach(function (item) {
|
data.split(/\n/g).forEach(function (item) {
|
||||||
pushToTerminal(item);
|
pushToTerminal(item);
|
||||||
window.scrollToBottom();
|
|
||||||
});
|
});
|
||||||
|
window.scrollToBottom();
|
||||||
});
|
});
|
||||||
|
|
||||||
Socket.on('console', function (data) {
|
Socket.on('console', function (data) {
|
||||||
|
|
Loading…
Reference in a new issue