Skip to content

Commit

Permalink
FIX: Compatibility with Firefox 46 (issue #220).
Browse files Browse the repository at this point in the history
  • Loading branch information
benel committed May 4, 2016
1 parent f887e16 commit cd14254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/js/restclient.helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ restclient.helper = {
}

// convert the binary hash data to a hex string.
var s = [toHexString(hash.charCodeAt(i)) for (i in hash)].join("");
var s = hash.split("").map( c => toHexString(c.charCodeAt(0)) ).join("");

return s;
}
Expand Down

1 comment on commit cd14254

@tuffz
Copy link

@tuffz tuffz commented on cd14254 May 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.