summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-24 11:25:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-24 11:25:36 +0900
commitd5dfbff3c179933694375d2255f577affba30912 (patch)
tree03e1791acce8f18a76d54554012e4186c6d7c6db /src/web
parentMerge pull request #199 from syuilo/greenkeeper/inquirer-3.0.4 (diff)
downloadsharkey-d5dfbff3c179933694375d2255f577affba30912.tar.gz
sharkey-d5dfbff3c179933694375d2255f577affba30912.tar.bz2
sharkey-d5dfbff3c179933694375d2255f577affba30912.zip
[Client] Fix bugh
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 aed21b086f..0b963c40c1 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 && DataTransferItemList.prototype.forEach === undefined) {
+if (window.DataTransferItemList && DataTransferItemList.prototype.forEach === undefined) {
DataTransferItemList.prototype.forEach = Array.prototype.forEach;
}