Replace Backbone with React lightbox
This commit is contained in:
parent
cb94d09ef9
commit
4a5a2cb5c1
7 changed files with 75 additions and 79 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue