Remove this commented out code
This commit is contained in:
parent
0e7bda7bd0
commit
eed2084584
7 changed files with 4 additions and 19 deletions
|
@ -60,6 +60,7 @@
|
|||
- [edvwib](https://github.com/edvwib)
|
||||
- [Rob Farraher](https://github.com/farraherbg)
|
||||
- [Pier-Luc Ducharme](https://github.com/pl-ducharme)
|
||||
- [Anantharaju S](https://github.com/Anantharajus)
|
||||
|
||||
# Emby Contributors
|
||||
|
||||
|
|
|
@ -250,7 +250,6 @@ import '../../styles/scrollstyles.scss';
|
|||
}
|
||||
|
||||
function isOpened(dlg) {
|
||||
//return dlg.opened;
|
||||
return !dlg.classList.contains('hide');
|
||||
}
|
||||
|
||||
|
|
|
@ -297,10 +297,8 @@ class FilterMenu {
|
|||
}
|
||||
|
||||
if (submitted) {
|
||||
//if (!options.onChange) {
|
||||
saveValues(dlg, options.settings, options.settingsKey, options.setfilters);
|
||||
return resolve();
|
||||
//}
|
||||
}
|
||||
return resolve();
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -1038,7 +1038,6 @@ class PlaybackManager {
|
|||
}
|
||||
}
|
||||
|
||||
//var mediaType = item.MediaType;
|
||||
return getPlayer(item, getDefaultPlayOptions()) != null;
|
||||
};
|
||||
|
||||
|
|
|
@ -509,8 +509,6 @@ const scrollerFactory = function (frame, options) {
|
|||
}
|
||||
}
|
||||
|
||||
//event.preventDefault();
|
||||
|
||||
// Disable click on a source element, as it is unwelcome when dragging
|
||||
if (!dragging.locked && dragging.path > dragging.pathToLock) {
|
||||
dragging.locked = 1;
|
||||
|
@ -606,7 +604,7 @@ const scrollerFactory = function (frame, options) {
|
|||
if (transform) {
|
||||
// Trap scrolling only when necessary and/or requested
|
||||
if (delta > 0 && pos.dest < pos.end || delta < 0 && pos.dest > pos.start) {
|
||||
//stopDefault(event, 1);
|
||||
|
||||
}
|
||||
|
||||
self.slideBy(o.scrollBy * delta);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue