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:
parent
65a36d35b7
commit
f5feb28ec1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user