|
|
@ -40,10 +40,7 @@
|
|
|
|
open: function(conversation) {
|
|
|
|
open: function(conversation) {
|
|
|
|
var id = 'conversation-' + conversation.cid;
|
|
|
|
var id = 'conversation-' + conversation.cid;
|
|
|
|
if (id !== this.el.firstChild.id) {
|
|
|
|
if (id !== this.el.firstChild.id) {
|
|
|
|
this.$("video").each(function() {
|
|
|
|
this.$el.first().find('video, audio').each(function() {
|
|
|
|
this.pause();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
this.$("audio").each(function() {
|
|
|
|
|
|
|
|
this.pause();
|
|
|
|
this.pause();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
var $el = this.$('#'+id);
|
|
|
|
var $el = this.$('#'+id);
|
|
|
|