ConversationView in React

This commit is contained in:
Josh Perez 2021-10-05 12:47:06 -04:00 committed by GitHub
parent dddb3129cc
commit 5fdfa1c632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 703 additions and 786 deletions

View file

@ -216,13 +216,4 @@ Whisper.InboxView = Whisper.View.extend({
searchInput?.focus?.();
}
},
closeRecording(e: MouseEvent) {
if (e && this.$(e.target).closest('.capture-audio').length > 0) {
return;
}
this.$('.conversation:first .recorder').trigger('close');
},
onClick(e: MouseEvent) {
this.closeRecording(e);
},
});