File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
public/themes/pterodactyl/js/frontend Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
3636* Attempting to create a server when no nodes are configured now redirects to the node creation page.
3737* Fixes missing library issue for teamspeak when used with mariadb.
3838* Fixes inability to change the default port on front-end when viewing a server.
39- * Fixes bug preventing deletion of nests that have other nests referencing them as children.
39+ * Fixes bug preventing deletion of nests that have other nests referencing them as children.
40+ * Fixes console sometimes not loading properly on slow connections
4041
4142### Removed
4243* SFTP settings page now only displays connection address and username. Password setting was removed as it is no longer necessary with Daemon changes.
Original file line number Diff line number Diff line change @@ -203,9 +203,11 @@ function pushToTerminal(string) {
203203 } ) ;
204204
205205 Socket . on ( 'console' , function ( data ) {
206- data . line . split ( / \n / g) . forEach ( function ( item ) {
207- TerminalQueue . push ( item ) ;
208- } ) ;
206+ if ( data . line ) {
207+ data . line . split ( / \n / g) . forEach ( function ( item ) {
208+ TerminalQueue . push ( item ) ;
209+ } ) ;
210+ }
209211 } ) ;
210212} ) ( ) ;
211213
You can’t perform that action at this time.
0 commit comments