mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework subtitle editor
This commit is contained in:
parent
fc775f9dd8
commit
0fca25c780
50 changed files with 302 additions and 120 deletions
|
@ -46,12 +46,6 @@
|
|||
setFieldVisibilities(page, item);
|
||||
fillItemInfo(page, item, metadataEditorInfo.ParentalRatingOptions);
|
||||
|
||||
if (item.MediaType == "Video" && item.LocationType == "FileSystem" && item.Type !== 'TvChannel') {
|
||||
page.querySelector('.subtitleTabButton').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.subtitleTabButton').classList.add('hide');
|
||||
}
|
||||
|
||||
if (item.MediaType == 'Photo') {
|
||||
$('#btnEditImages', page).hide();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue