IE11 compatibility

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-06-20 01:21:04 +02:00
parent 5ef3499efb
commit 0afd0af156
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -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);