1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00

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('');
data.split(/\n/g).forEach(function (item) {
pushToTerminal(item);
window.scrollToBottom();
});
window.scrollToBottom();
});
Socket.on('console', function (data) {