Replaced split ID's with DOM Dataset in channel settings page.
This commit is contained in:
parent
e539b9d75d
commit
92659929b9
4 changed files with 14 additions and 15 deletions
|
|
@ -284,7 +284,6 @@ class emotePanel extends panelObj{
|
|||
//Create trash icon
|
||||
const trashIcon = document.createElement('i');
|
||||
trashIcon.classList.add('emote-list-trash-icon', 'bi-trash-fill');
|
||||
trashIcon.id = `emote-list-trash-icon-${emote.name}`;
|
||||
|
||||
//add deletePersonalEmote event listener
|
||||
trashIcon.addEventListener('click', ()=>{this.deletePersonalEmote(emote.name)});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue