mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Focus text input when opening a conversation
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
new bg.Whisper.ConversationView({
|
||||
model: conversation
|
||||
}).$el.prependTo($('body', document));
|
||||
$('input.send-message', document).focus();
|
||||
} else {
|
||||
$('<div>').text('Error').prependTo($('body', document));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user