remove alphabetPicker-left alphaPicker-fixed-left padded-left-withalphapicker class

This commit is contained in:
grafixeyehero 2020-01-22 19:42:43 +03:00
parent 4939f2fd60
commit f3426a97a1
8 changed files with 19 additions and 71 deletions

View file

@ -223,15 +223,10 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
element: alphaPickerElement,
valueChangeEvent: "click"
});
if (layoutManager.tv) {
tabContent.querySelector(".alphaPicker").classList.add("alphabetPicker-left");
alphaPickerElement.classList.add("alphaPicker-fixed-left");
itemsContainer.classList.add("padded-left-withalphapicker");
} else {
tabContent.querySelector(".alphaPicker").classList.add("alphabetPicker-right");
alphaPickerElement.classList.add("alphaPicker-fixed-right");
itemsContainer.classList.add("padded-right-withalphapicker");
}
tabContent.querySelector(".alphaPicker").classList.add("alphabetPicker-right");
alphaPickerElement.classList.add("alphaPicker-fixed-right");
itemsContainer.classList.add("padded-right-withalphapicker");
tabContent.querySelector(".btnFilter").addEventListener("click", function () {
self.showFilterMenu();