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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user