Avoid opening message-detail twice
Previously, clicking the timestamp on an error bubble would open two message detail views. // FREEBIE
This commit is contained in:
@@ -19,8 +19,9 @@
|
||||
'click .timestamp': 'select',
|
||||
'click .error': 'select'
|
||||
},
|
||||
select: function() {
|
||||
select: function(e) {
|
||||
this.$el.trigger('select', {message: this.model});
|
||||
e.stopPropagation();
|
||||
},
|
||||
className: function() {
|
||||
return ["entry", this.model.get('type')].join(' ');
|
||||
|
Reference in New Issue
Block a user