Skip to content

Commit f5feb28

Browse files
kgnsDaneEveritt
authored andcommitted
Fix for js console causing browser to become unresponsive (pterodactyl#715)
1 parent 65a36d3 commit f5feb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/themes/pterodactyl/js/frontend/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ function pushToTerminal(string) {
198198
$('#terminal').html('');
199199
data.split(/\n/g).forEach(function (item) {
200200
pushToTerminal(item);
201-
window.scrollToBottom();
202201
});
202+
window.scrollToBottom();
203203
});
204204

205205
Socket.on('console', function (data) {

0 commit comments

Comments
 (0)