aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-20 12:30:08 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-20 12:30:08 +0200
commita256195767786956011901c14f9813f7326b2576 (patch)
treed5a9cc78a2cc251b9f896b10132db18988e02df9 /view/tpl/jot-header.tpl
parent26d69796d0dc4721c58fcf37cd947e23028c5f48 (diff)
downloadvolse-hubzilla-a256195767786956011901c14f9813f7326b2576.tar.gz
volse-hubzilla-a256195767786956011901c14f9813f7326b2576.tar.bz2
volse-hubzilla-a256195767786956011901c14f9813f7326b2576.zip
remove preview on jot reset
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index fd1c8263a..22413f350 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -308,6 +308,7 @@ var activeCommentText = '';
$(".jothidden").hide();
$("#profile-jot-text").removeClass('jot-expanded');
$("#profile-jot-reset").addClass('d-none');
+ $("#jot-preview-content").html('').hide();
editor = false;
{{else}}
window.history.back();