1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-21 07:41:49 -05:00

Sending message to new callsign displays in an active tab

This commit is contained in:
Craig Lamparter 2024-11-19 10:31:05 -08:00 committed by GitHub
parent f0b99564d1
commit d42638efe3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -423,7 +423,7 @@ function append_message(callsign, msg, msg_html) {
//update_callsign_path(callsign, msg);
append_message_html(callsign, msg_html, new_callsign);
len = Object.keys(callsign_list).length;
if (new_callsign && len == 1) {
if (new_callsign) {
//Now click the tab if and only if there is only one tab
callsign_tab_id = callsign_tab(callsign);
$(callsign_tab_id).click();