[Client] Fix bug

This commit is contained in:
syuilo 2017-02-24 01:15:50 +09:00
parent 5daa689b0d
commit 158c9e2368

View file

@ -39,7 +39,7 @@ if (HTMLCollection.prototype.forEach === undefined) {
if (FileList.prototype.forEach === undefined) {
FileList.prototype.forEach = Array.prototype.forEach;
}
if (DataTransferItemList.prototype.forEach === undefined) {
if (DataTransferItemList && DataTransferItemList.prototype.forEach === undefined) {
DataTransferItemList.prototype.forEach = Array.prototype.forEach;
}