Add id attr to key change advisory elements

The id attribute is needed to ensure that message elements are inserted
in the correct place in the DOM
pull/749/head
lilia 8 years ago
parent 5be5f985fc
commit 260f50c104

@ -79,6 +79,9 @@
tagName: 'li',
className: 'keychange',
templateName: 'keychange',
id: function() {
return this.model.id;
},
initialize: function() {
this.conversation = this.model.getModelForKeyChange();
this.listenTo(this.conversation, 'change', this.render);

Loading…
Cancel
Save