Browse Source

init with haveFocus = true

develop
Rob Colbert 1 year ago
parent
commit
12c96bf7e3
  1. 1
      client/js/chat-client.js

1
client/js/chat-client.js

@ -33,6 +33,7 @@ export class ChatApp extends DtpApp {
this.log.info('constructor', 'DTP app client online'); this.log.info('constructor', 'DTP app client online');
this.notificationPermission = 'default'; this.notificationPermission = 'default';
this.haveFocus = true; // hard to load the app w/o also being the focused app
this.chat = { this.chat = {
form: document.querySelector('#chat-input-form'), form: document.querySelector('#chat-input-form'),

Loading…
Cancel
Save