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

fix: indentation

This commit is contained in:
Aimekram 2022-10-19 22:15:25 +02:00
parent 832b9eaf4d
commit 8251b65399
4 changed files with 5 additions and 5 deletions

View file

@ -55,13 +55,13 @@ import '../elements/emby-button/emby-button';
// implement without hammer // implement without hammer
const onSwipeLeft = function (e, target) { const onSwipeLeft = function (e, target) {
if (allowSwipe(target) && view.contains(target)) { if (allowSwipe(target) && view.contains(target)) {
currentElement.selectNext(); currentElement.selectNext();
} }
}; };
const onSwipeRight = function (e, target) { const onSwipeRight = function (e, target) {
if (allowSwipe(target) && view.contains(target)) { if (allowSwipe(target) && view.contains(target)) {
currentElement.selectPrevious(); currentElement.selectPrevious();
} }
}; };

View file

@ -207,7 +207,7 @@ import '../../elements/emby-itemscontainer/emby-itemscontainer';
}; };
const initPage = (tabElement) => { const initPage = (tabElement) => {
tabElement.querySelector('.btnSort').addEventListener('click', function (e) { tabElement.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('Name'), name: globalize.translate('Name'),

View file

@ -191,7 +191,7 @@ import '../../elements/emby-itemscontainer/emby-itemscontainer';
}; };
function initPage(tabElement) { function initPage(tabElement) {
tabElement.querySelector('.btnFilter').addEventListener('click', function () { tabElement.querySelector('.btnFilter').addEventListener('click', function () {
self.showFilterMenu(); self.showFilterMenu();
}); });
tabElement.querySelector('.btnSort').addEventListener('click', function (e) { tabElement.querySelector('.btnSort').addEventListener('click', function (e) {

View file

@ -1352,7 +1352,7 @@ function tryRemoveElement(elem) {
newdlg.classList.add('videoPlayerContainer'); newdlg.classList.add('videoPlayerContainer');
if (options.fullscreen) { if (options.fullscreen) {
newdlg.classList.add('videoPlayerContainer-onTop'); newdlg.classList.add('videoPlayerContainer-onTop');
} }
let html = ''; let html = '';