Fix "undefined" prefix from md5Async()

This commit is contained in:
Dan Stillman 2016-01-22 01:10:08 -05:00
parent 0a5e31a4e1
commit e206d70595

View file

@ -142,7 +142,7 @@ Zotero.Utilities.Internal = {
} }
// Hex string // Hex string
else { else {
let hexStr; let hexStr = "";
for (let i = 0; i < hash.length; i++) { for (let i = 0; i < hash.length; i++) {
hexStr += toHexString(hash.charCodeAt(i)); hexStr += toHexString(hash.charCodeAt(i));
} }