From a51b00807bccd236ae2a6cb2812c6c55da4830cb Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 24 Feb 2017 01:15:50 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/boot.js b/src/web/app/boot.js index 44ac6bac2e..aed21b086f 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -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; }