Replace Backbone with React lightbox

This commit is contained in:
Daniel Gasienica 2018-04-14 23:27:03 -04:00
parent cb94d09ef9
commit 4a5a2cb5c1
7 changed files with 75 additions and 79 deletions

View file

@ -172,7 +172,6 @@
'click .conversation': 'focusConversation',
'select .gutter .conversation-list-item': 'openConversation',
'input input.search': 'filterContacts',
'show .lightbox': 'showLightbox',
},
startConnectionListener() {
this.interval = setInterval(() => {
@ -259,9 +258,6 @@
this.focusConversation();
}
},
showLightbox(e) {
this.$el.append(e.target);
},
closeRecording(e) {
if (e && this.$(e.target).closest('.capture-audio').length > 0) {
return;