aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-10 22:35:59 +0000
committerMario <mario@mariovavti.com>2024-03-10 22:35:59 +0000
commitee8aba3221f995b265c3196505a1c7c26b76f116 (patch)
tree2b32c6153b40da13d7ebd944fe8e7fd383785f32 /view/tpl/jot.tpl
parent0a730935f52ae33bf6132a1ae522e88a37b0f5e6 (diff)
downloadvolse-hubzilla-ee8aba3221f995b265c3196505a1c7c26b76f116.tar.gz
volse-hubzilla-ee8aba3221f995b265c3196505a1c7c26b76f116.tar.bz2
volse-hubzilla-ee8aba3221f995b265c3196505a1c7c26b76f116.zip
implement sodium-plus library to replace unmaintained sjcl
Diffstat (limited to 'view/tpl/jot.tpl')
-rw-r--r--view/tpl/jot.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 0ffdc0517..eedd92170 100644
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -160,7 +160,7 @@
</button>
{{/if}}
{{if $feature_encrypt}}
- <button type="button" id="profile-encrypt-wrapper" class="btn btn-outline-secondary btn-sm border-0" title="{{$encrypt}}" onclick="hz_encrypt('{{$cipher}}','#profile-jot-text');return false;">
+ <button type="button" id="profile-encrypt-wrapper" class="btn btn-outline-secondary btn-sm border-0" title="{{$encrypt}}" onclick="sodium_encrypt('#profile-jot-text'); return false;">
<i id="profile-encrypt" class="fa fa-key jot-icons"></i>
</button>
{{/if}}