use focus in js

This commit is contained in:
Bruno Rybársky 2022-06-12 13:35:46 +02:00
parent 953884db55
commit de87a14813

@ -49,6 +49,7 @@ $(document).ready(function(){
//fit console to screen //fit console to screen
//$('#console').css('height', $(window).height() - $('#console').offset().top - 10); //$('#console').css('height', $(window).height() - $('#console').offset().top - 10);
//account for the input box //account for the input box
$("#console").focus();
let host = 'wss://console.brn.systems:443'; let host = 'wss://console.brn.systems:443';
var socket = io.connect(host); var socket = io.connect(host);
resizeit(); resizeit();