Avoid opening message-detail twice

Previously, clicking the timestamp on an error bubble would open two
message detail views.

// FREEBIE
pull/749/head
lilia 10 years ago
parent ec6898f1ab
commit cb93ad4cff

@ -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(' ');

Loading…
Cancel
Save