mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix reference to undefined variable
This commit is contained in:
parent
79c48f6476
commit
0910e6cf4e
1 changed files with 2 additions and 2 deletions
|
@ -77,10 +77,10 @@ define([], function () {
|
||||||
var camel = prop.replace(/-([a-z]|[0-9])/ig, function (all, letter) {
|
var camel = prop.replace(/-([a-z]|[0-9])/ig, function (all, letter) {
|
||||||
return (letter + '').toUpperCase();
|
return (letter + '').toUpperCase();
|
||||||
});
|
});
|
||||||
// Check if the property is supported
|
|
||||||
var support = (camel in el.style);
|
|
||||||
// Create test element
|
// Create test element
|
||||||
var el = document.createElement('div');
|
var el = document.createElement('div');
|
||||||
|
// Check if the property is supported
|
||||||
|
var support = (camel in el.style);
|
||||||
// Assign the property and value to invoke
|
// Assign the property and value to invoke
|
||||||
// the CSS interpreter
|
// the CSS interpreter
|
||||||
el.style.cssText = prop + ':' + value;
|
el.style.cssText = prop + ':' + value;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue