mirror of
https://github.com/discourse/discourse.git
synced 2025-09-11 21:04:42 +08:00
- missing notifications when multiple replies in topic (till refresh) - not cleared properly on click
11 lines
263 B
JavaScript
11 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;
|
|
});
|
|
}
|
|
});
|