mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
fix delete button in metadata editor
This commit is contained in:
parent
0850fb9c3a
commit
12fe00e76c
@ -247,7 +247,7 @@
|
||||
}
|
||||
|
||||
function removeElementFromListview(source) {
|
||||
$(source).parents('paper-icon-item').remove();
|
||||
$(source).parents('.listItem').remove();
|
||||
}
|
||||
|
||||
function editPerson(context, person, index) {
|
||||
@ -353,9 +353,11 @@
|
||||
}
|
||||
|
||||
function onEditorClick(e) {
|
||||
|
||||
var btnRemoveFromEditorList = parentWithClass(e.target, 'btnRemoveFromEditorList');
|
||||
if (btnRemoveFromEditorList) {
|
||||
removeElementFromListview(btnRemoveFromEditorList);
|
||||
return;
|
||||
}
|
||||
|
||||
var btnAddTextItem = parentWithClass(e.target, 'btnAddTextItem');
|
||||
|
Loading…
Reference in New Issue
Block a user