From a256195767786956011901c14f9813f7326b2576 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 20 May 2018 12:30:08 +0200 Subject: remove preview on jot reset --- view/tpl/jot-header.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view') 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(); -- cgit v1.2.3