1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Remove this commented out code

This commit is contained in:
anantharaju 2023-04-03 10:43:19 +05:30
parent 0e7bda7bd0
commit eed2084584
7 changed files with 4 additions and 19 deletions

View file

@ -250,7 +250,6 @@ import '../../styles/scrollstyles.scss';
}
function isOpened(dlg) {
//return dlg.opened;
return !dlg.classList.contains('hide');
}

View file

@ -297,10 +297,8 @@ class FilterMenu {
}
if (submitted) {
//if (!options.onChange) {
saveValues(dlg, options.settings, options.settingsKey, options.setfilters);
return resolve();
//}
}
return resolve();
});

View file

@ -52,17 +52,13 @@ import Events from '../utils/events.ts';
}
if (browser.edge && mediaType === 'Video') {
//return true;
}
// simple playback should use the native support
if (runTimeTicks) {
//if (!browser.edge) {
return false;
//}
}
//return false;
}
return true;

View file

@ -205,13 +205,7 @@ import datetime from '../../scripts/datetime';
if (user.Policy.EnableContentDownloading && appHost.supports('filedownload')) {
// Disabled because there is no callback for this item
/*
menuItems.push({
name: globalize.translate('Download'),
id: 'download',
icon: 'file_download'
});
*/
}
if (user.Policy.IsAdministrator) {

View file

@ -1038,7 +1038,6 @@ class PlaybackManager {
}
}
//var mediaType = item.MediaType;
return getPlayer(item, getDefaultPlayOptions()) != null;
};