mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update channelmapper
This commit is contained in:
parent
a1538a4ba6
commit
0e6c54ecc2
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +3,9 @@ define(["dialogHelper", "loading", "connectionManager", "globalize", "actionshee
|
||||||
|
|
||||||
return function (options) {
|
return function (options) {
|
||||||
function parentWithClass(elem, className) {
|
function parentWithClass(elem, className) {
|
||||||
for (; !elem.classList || !elem.classList.contains(className);) {
|
while (!elem.classList || !elem.classList.contains(className)) {
|
||||||
if (!(elem = elem.parentNode)) {
|
elem = elem.parentNode;
|
||||||
|
if (!elem) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue