mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix variable usage (SonarCloud)
This commit is contained in:
parent
f915ecd400
commit
fad3b562ea
1 changed files with 5 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
function polyfillProperty(name) {
|
function polyfillProperty(name) {
|
||||||
if (!(name in elem.style)) {
|
if (!(name in elem.style)) {
|
||||||
for (const vendorName of vendorProperties[name] || []) {
|
(vendorProperties[name] || []).every((vendorName) => {
|
||||||
if (vendorName in elem.style) {
|
if (vendorName in elem.style) {
|
||||||
console.debug(`polyfill '${name}' with '${vendorName}'`);
|
console.debug(`polyfill '${name}' with '${vendorName}'`);
|
||||||
|
|
||||||
|
@ -19,9 +19,11 @@
|
||||||
set: function (val) { this[vendorName] = val; }
|
set: function (val) { this[vendorName] = val; }
|
||||||
});
|
});
|
||||||
|
|
||||||
break;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
return true;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue