summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-24 01:15:50 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-24 01:15:50 +0900
commita51b00807bccd236ae2a6cb2812c6c55da4830cb (patch)
tree35ac747c26e6ec51b40f1743d7598e82e0a6ce8d /src
parentFix typo (diff)
downloadsharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.tar.gz
sharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.tar.bz2
sharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.zip
[Client] Fix bug
Diffstat (limited to 'src')
-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;
}