From d42638efe3ebb22d777573d934ed4dd8216ac705 Mon Sep 17 00:00:00 2001 From: Craig Lamparter Date: Tue, 19 Nov 2024 10:31:05 -0800 Subject: [PATCH] Sending message to new callsign displays in an active tab --- aprsd/web/chat/static/js/send-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/web/chat/static/js/send-message.js b/aprsd/web/chat/static/js/send-message.js index 1887be1..dfd7d88 100644 --- a/aprsd/web/chat/static/js/send-message.js +++ b/aprsd/web/chat/static/js/send-message.js @@ -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();