Replace Backbone with React lightbox
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user