mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
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