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

Merge pull request #2620 from dmitrylyzo/hide-search-alphapicker-on-tv

(cherry picked from commit 9f1bfe1631)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Anthony Lavado 2021-04-26 09:47:36 -04:00 committed by Joshua M. Boniface
parent b053cb9d79
commit b5d9ff9279

View file

@ -62,19 +62,13 @@ import template from './searchfields.template.html';
}
function embed(elem, instance, options) {
let html = globalize.translateHtml(template, 'core');
if (browser.tizen || browser.orsay) {
html = html.replace('<input ', '<input readonly ');
}
elem.innerHTML = html;
elem.innerHTML = globalize.translateHtml(template, 'core');
elem.classList.add('searchFields');
const txtSearch = elem.querySelector('.searchfields-txtSearch');
if (layoutManager.tv) {
if (layoutManager.tv && !browser.tv) {
const alphaPickerElement = elem.querySelector('.alphaPicker');
elem.querySelector('.alphaPicker').classList.remove('hide');