Reset badge on startup
This commit is contained in:
parent
f21afd2b5d
commit
ed894f83c6
|
@ -11,6 +11,7 @@ module.exports = HumanView.extend({
|
||||||
template: templates.body,
|
template: templates.body,
|
||||||
initialize: function () {
|
initialize: function () {
|
||||||
this.listenTo(app.state, 'change:title', this.handleTitle);
|
this.listenTo(app.state, 'change:title', this.handleTitle);
|
||||||
|
this.handleTitle();
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
'click a[href]': 'handleLinkClick',
|
'click a[href]': 'handleLinkClick',
|
||||||
|
|
Loading…
Reference in New Issue