[Client] Fix bugh

This commit is contained in:
syuilo 2017-02-24 11:25:36 +09:00
parent 5aad8d951d
commit d5dfbff3c1
1 changed files with 1 additions and 1 deletions

View File

@ -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 && DataTransferItemList.prototype.forEach === undefined) { if (window.DataTransferItemList && DataTransferItemList.prototype.forEach === undefined) {
DataTransferItemList.prototype.forEach = Array.prototype.forEach; DataTransferItemList.prototype.forEach = Array.prototype.forEach;
} }