[Client] Fix bug
This commit is contained in:
parent
f7e6bd55d0
commit
a51b00807b
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ if (HTMLCollection.prototype.forEach === undefined) {
|
||||||
if (FileList.prototype.forEach === undefined) {
|
if (FileList.prototype.forEach === undefined) {
|
||||||
FileList.prototype.forEach = Array.prototype.forEach;
|
FileList.prototype.forEach = Array.prototype.forEach;
|
||||||
}
|
}
|
||||||
if (DataTransferItemList.prototype.forEach === undefined) {
|
if (DataTransferItemList && DataTransferItemList.prototype.forEach === undefined) {
|
||||||
DataTransferItemList.prototype.forEach = Array.prototype.forEach;
|
DataTransferItemList.prototype.forEach = Array.prototype.forEach;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue