From 12c96bf7e34368848750de815b25ebf2b1546f6e Mon Sep 17 00:00:00 2001 From: rob Date: Tue, 23 Apr 2024 15:22:25 -0400 Subject: [PATCH] init with haveFocus = true --- client/js/chat-client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/js/chat-client.js b/client/js/chat-client.js index 75a240d..75d5d31 100644 --- a/client/js/chat-client.js +++ b/client/js/chat-client.js @@ -33,6 +33,7 @@ export class ChatApp extends DtpApp { this.log.info('constructor', 'DTP app client online'); this.notificationPermission = 'default'; + this.haveFocus = true; // hard to load the app w/o also being the focused app this.chat = { form: document.querySelector('#chat-input-form'),