commit e206d7059516245e920026cc40826d9a12d1772f
parent 0a5e31a4e12a7d77cc4b954468ffa47a4a9f6864
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 22 Jan 2016 01:10:08 -0500
Fix "undefined" prefix from md5Async()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/utilities_internal.js b/chrome/content/zotero/xpcom/utilities_internal.js
@@ -142,7 +142,7 @@ Zotero.Utilities.Internal = {
}
// Hex string
else {
- let hexStr;
+ let hexStr = "";
for (let i = 0; i < hash.length; i++) {
hexStr += toHexString(hash.charCodeAt(i));
}