From 0afd0af1563c57e7b4cfcc199a740db5109e72b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 20 Jun 2018 01:21:04 +0200 Subject: [PATCH] IE11 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 950e595c17..bcec88765c 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);