bugfix: signature computation was broken for multiline texts

This commit is contained in:
Christian Mueller
2014-02-25 18:13:01 +01:00
parent a0837b70b9
commit 144218ecc2
3 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -5,9 +5,7 @@ var timerDelay = iosDetected ? 800 : 400;
var show = function(elem) { elem.style.display = "block" }
var $note, $action, $preview, $plain_password, $input_elems, $dashed_line, updatePreview;
var md5 = function (input) {
return hex_md5(input.replace(/[\n\r]/g, ""));
}
var md5 = hex_md5;
function md2html(input){
return marked(input);