mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
refactor: eslint (single-quotes)
This commit is contained in:
parent
3ef73904c1
commit
dba3b81c81
1 changed files with 2 additions and 2 deletions
|
@ -97,10 +97,10 @@ function populateList(options) {
|
||||||
|
|
||||||
function onSearchBarType(searchBar) {
|
function onSearchBarType(searchBar) {
|
||||||
const filter = searchBar.value.toLowerCase();
|
const filter = searchBar.value.toLowerCase();
|
||||||
for (const header of document.querySelectorAll("div .verticalSection")) {
|
for (const header of document.querySelectorAll('div .verticalSection')) {
|
||||||
// keep track of shown cards after each search
|
// keep track of shown cards after each search
|
||||||
let shown = 0;
|
let shown = 0;
|
||||||
for (const card of header.querySelectorAll("div .card")) {
|
for (const card of header.querySelectorAll('div .card')) {
|
||||||
if (filter && filter != '' && !card.textContent.toLowerCase().includes(filter)) {
|
if (filter && filter != '' && !card.textContent.toLowerCase().includes(filter)) {
|
||||||
card.style.display = 'none';
|
card.style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue