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