From de87a148139bf2c880830e8cc5c5bd830daadab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 12 Jun 2022 13:35:46 +0200 Subject: [PATCH] use focus in js --- website/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/script.js b/website/script.js index c870678..d9afd38 100644 --- a/website/script.js +++ b/website/script.js @@ -49,6 +49,7 @@ $(document).ready(function(){ //fit console to screen //$('#console').css('height', $(window).height() - $('#console').offset().top - 10); //account for the input box + $("#console").focus(); let host = 'wss://console.brn.systems:443'; var socket = io.connect(host); resizeit();