From f5feb28ec176e92c7ae39913c74484a4983a5bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ka=C4=9Fan=20=C3=9Cst=C3=BCngel?= Date: Fri, 3 Nov 2017 00:57:54 +0200 Subject: [PATCH] Fix for js console causing browser to become unresponsive (#715) --- public/themes/pterodactyl/js/frontend/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/themes/pterodactyl/js/frontend/console.js b/public/themes/pterodactyl/js/frontend/console.js index d96aaefd4..97bd73854 100644 --- a/public/themes/pterodactyl/js/frontend/console.js +++ b/public/themes/pterodactyl/js/frontend/console.js @@ -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) {