From ff358987a9206772792358ee2c14345fd63fc426 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 26 Sep 2023 10:31:00 -0400 Subject: [PATCH] WebChat: new tab should get focus When a new tab is created it now gets the focus. --- aprsd/web/chat/static/js/send-message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aprsd/web/chat/static/js/send-message.js b/aprsd/web/chat/static/js/send-message.js index a8bbd9d..cb2d91b 100644 --- a/aprsd/web/chat/static/js/send-message.js +++ b/aprsd/web/chat/static/js/send-message.js @@ -332,8 +332,8 @@ function append_message(callsign, msg, msg_html) { if (new_callsign) { //Now click the tab callsign_tab_id = callsign_tab(callsign); - //$(callsign_tab_id).click(); - //callsign_select(callsign); + $(callsign_tab_id).click(); + callsign_select(callsign); } }