1
0
Fork 0
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:
grafixeyehero 2019-10-16 19:23:50 +03:00
parent 0e6c54ecc2
commit 1d2744d7b9

View file

@ -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;
}
}