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) {
toggleHeader();
} else {
for (const index in files) {
for (let index in files) {
const id = files[index].fileId;
//check if file still exists before adding to list
checkExistence(id, files[index], true);

View File

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