fix functionality on firefox 50 and 51

This commit is contained in:
Daniela Arcese 2017-07-27 10:46:28 -04:00
parent e0e7853882
commit e09385be05
No known key found for this signature in database
GPG key ID: 3A254650E0ABC8C8
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ $(document).ready(function() {
if (files.length === 0) { if (files.length === 0) {
toggleHeader(); toggleHeader();
} else { } else {
for (const index in files) { for (let index in files) {
const id = files[index].fileId; const id = files[index].fileId;
//check if file still exists before adding to list //check if file still exists before adding to list
checkExistence(id, files[index], true); checkExistence(id, files[index], true);

View file

@ -1,6 +1,6 @@
function arrayToHex(iv) { function arrayToHex(iv) {
let hexStr = ''; let hexStr = '';
for (const i in iv) { for (let i in iv) {
if (iv[i] < 16) { if (iv[i] < 16) {
hexStr += '0' + iv[i].toString(16); hexStr += '0' + iv[i].toString(16);
} else { } else {