diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-24 01:15:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-24 01:15:50 +0900 |
| commit | a51b00807bccd236ae2a6cb2812c6c55da4830cb (patch) | |
| tree | 35ac747c26e6ec51b40f1743d7598e82e0a6ce8d /src | |
| parent | Fix typo (diff) | |
| download | sharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.tar.gz sharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.tar.bz2 sharkey-a51b00807bccd236ae2a6cb2812c6c55da4830cb.zip | |
[Client] Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/boot.js | 2 |
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; } |