diff options
| author | syuilo⭐️ <Syuilotan@yahoo.co.jp> | 2017-02-22 02:18:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-22 02:18:57 +0900 |
| commit | 82a28f4c052e9c931c4844f0f330ec301c111366 (patch) | |
| tree | 321f492a7ad024e568786b831dfc864adeb77aea /src/web/app/boot.js | |
| parent | Update README.md (diff) | |
| parent | Fix bugs (diff) | |
| download | misskey-82a28f4c052e9c931c4844f0f330ec301c111366.tar.gz misskey-82a28f4c052e9c931c4844f0f330ec301c111366.tar.bz2 misskey-82a28f4c052e9c931c4844f0f330ec301c111366.zip | |
Merge pull request #193 from syuilo/no-tag-ls
No tag ls
Diffstat (limited to 'src/web/app/boot.js')
| -rw-r--r-- | src/web/app/boot.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/web/app/boot.js b/src/web/app/boot.js index ab147eb562..06e457e2b3 100644 --- a/src/web/app/boot.js +++ b/src/web/app/boot.js @@ -27,13 +27,16 @@ riot.mixin({ // ↓ iOS待ちPolyfill (SEE: http://caniuse.com/#feat=fetch) require('whatwg-fetch'); -// ↓ NodeList、HTMLCollectionで forEach を使えるようにする +// ↓ NodeList、HTMLCollection、FileListで forEach を使えるようにする if (NodeList.prototype.forEach === undefined) { NodeList.prototype.forEach = Array.prototype.forEach; } if (HTMLCollection.prototype.forEach === undefined) { HTMLCollection.prototype.forEach = Array.prototype.forEach; } +if (FileList.prototype.forEach === undefined) { + FileList.prototype.forEach = Array.prototype.forEach; +} // ↓ iOSでプライベートモードだとlocalStorageが使えないので既存のメソッドを上書きする try { |