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:
parent
ec6898f1ab
commit
cb93ad4cff
1 changed files with 2 additions and 1 deletions
|
@ -19,8 +19,9 @@
|
||||||
'click .timestamp': 'select',
|
'click .timestamp': 'select',
|
||||||
'click .error': 'select'
|
'click .error': 'select'
|
||||||
},
|
},
|
||||||
select: function() {
|
select: function(e) {
|
||||||
this.$el.trigger('select', {message: this.model});
|
this.$el.trigger('select', {message: this.model});
|
||||||
|
e.stopPropagation();
|
||||||
},
|
},
|
||||||
className: function() {
|
className: function() {
|
||||||
return ["entry", this.model.get('type')].join(' ');
|
return ["entry", this.model.get('type')].join(' ');
|
||||||
|
|
Loading…
Reference in a new issue