summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/messaging.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/messaging.js b/js/messaging.js
index 3ac9e99..38b1625 100644
--- a/js/messaging.js
+++ b/js/messaging.js
@@ -502,7 +502,6 @@ function setupEventListeners() {
var addrparts = window.location.href.split("/"); // engleski
var encrypted_message = sjcl.encrypt($("#msg-e2ee-pass-input").val(), msgcontent);
-
msgcontent = `
<script src="${addrparts[0]}//${addrparts[2]}/js/lib/sjcl.js"></script>
<div id="beziapp-msg-e2ee-form-${randomencdivid}">
@@ -514,7 +513,7 @@ function setupEventListeners() {
$('#beziapp-msg-e2ee-content-${randomencdivid}').html(
sjcl.decrypt(
$('#beziapp-msg-e2ee-password-${randomencdivid}').val(),
- $('beziapp-msg-e2ee-content-${randomencdivid}').text()
+ $('#beziapp-msg-e2ee-content-${randomencdivid}').text()
)
);
$('#beziapp-msg-e2ee-content-${randomencdivid}').show();