Fix for js console causing browser to become unresponsive (#715)

This commit is contained in:
Kağan Üstüngel 2017-11-03 00:57:54 +02:00 committed by Dane Everitt
parent 65a36d35b7
commit f5feb28ec1

View file

@ -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) {