- missing notifications when multiple replies in topic (till refresh) - not cleared properly on click
12 lines
263 B
JavaScript
12 lines
263 B
JavaScript
Discourse.NotificationItemComponent = Ember.Component.extend({
|
|
tagName: 'span',
|
|
didInsertElement: function(){
|
|
var self = this;
|
|
this.$('a').click(function(){
|
|
self.set('model.read', true);
|
|
self.rerender();
|
|
return true;
|
|
});
|
|
}
|
|
});
|