diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-20 01:21:04 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-20 01:21:04 +0200 |
commit | 0afd0af1563c57e7b4cfcc199a740db5109e72b3 (patch) | |
tree | 11c9a3524a863be81d8c8897808fae19413a129d /apps/files | |
parent | 5ef3499efb677522dcb3c398c9f38f361659c0b6 (diff) | |
download | nextcloud-server-0afd0af1563c57e7b4cfcc199a740db5109e72b3.tar.gz nextcloud-server-0afd0af1563c57e7b4cfcc199a740db5109e72b3.zip |
IE11 compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 950e595c170..bcec88765cb 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -761,7 +761,7 @@ if (checked) { for (var i = 0; i < this.files.length; i++) { - if (selectionIds.includes(this.files[i]['id'])) { + if (selectionIds.indexOf(this.files[i].id) >=0 ) { var fileData = this.files[i]; this._selectedFiles[fileData.id] = fileData; this._selectionSummary.add(fileData); |