mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 01:32:57 -07:00
Update cloudinary==1.40.0
This commit is contained in:
parent
5e90f3bb31
commit
96c20ad893
3 changed files with 7 additions and 5 deletions
|
@ -422,7 +422,7 @@ var slice = [].slice,
|
|||
* @returns {boolean} true if item is empty
|
||||
*/
|
||||
isEmpty = function(item) {
|
||||
return (item == null) || (jQuery.isArray(item) || Util.isString(item)) && item.length === 0 || (jQuery.isPlainObject(item) && jQuery.isEmptyObject(item));
|
||||
return (item == null) || (Array.isArray(item) || Util.isString(item)) && item.length === 0 || (jQuery.isPlainObject(item) && jQuery.isEmptyObject(item));
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -565,7 +565,7 @@ var slice = [].slice,
|
|||
setData: setData,
|
||||
width: width,
|
||||
isString: isString,
|
||||
isArray: jQuery.isArray,
|
||||
isArray: Array.isArray,
|
||||
isEmpty: isEmpty,
|
||||
|
||||
/**
|
||||
|
@ -4728,7 +4728,7 @@ var slice = [].slice,
|
|||
return k + '=' + v;
|
||||
}).join('|');
|
||||
} else if (Util.isArray(value)) {
|
||||
if (value.length > 0 && jQuery.isArray(value[0])) {
|
||||
if (value.length > 0 && Array.isArray(value[0])) {
|
||||
upload_params[key] = jQuery.map(value, function(array_value) {
|
||||
return array_value.join(',');
|
||||
}).join('|');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue