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
const onSwipeLeft = function (e, target) {
if (allowSwipe(target) && view.contains(target)) {
currentElement.selectNext();
currentElement.selectNext();
}
};
const onSwipeRight = function (e, 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) => {
tabElement.querySelector('.btnSort').addEventListener('click', function (e) {
tabElement.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({
items: [{
name: globalize.translate('Name'),

View file

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

View file

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