Commit bab80a32 authored by JC Brand's avatar JC Brand

No need to set num_unread, it has a default value.

parent 184f0815
......@@ -163,10 +163,7 @@
ChatBox: {
initialize: function () {
if (this.get('id') === 'controlbox') {
this.set({
'time_opened': moment(0).valueOf(),
'num_unread': 0
});
this.set({'time_opened': moment(0).valueOf()});
} else {
this.__super__.initialize.apply(this, arguments);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment