summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/boot.js2
1 files changed, 1 insertions, 1 deletions
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;
}