mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 03:02:25 -05:00
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
Block a user