From cc4f3a827c71f7a9a3c4b77328bb2427759795f4 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 21 Jun 2021 18:45:33 +0000 Subject: streamline jot popup for mod hq --- view/tpl/jot-header.tpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'view/tpl/jot-header.tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index b24283664..d0e4e9e0e 100644 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -321,12 +321,17 @@ var activeCommentText = ''; postSaveChanges('clean'); {{if $reset}} + {{if $popup}} + $("#jot-popup").hide(); + editor = false; + {{else}} $(".jothidden").hide(); $("#profile-jot-text").removeClass('jot-expanded'); $("#profile-jot-tools").addClass('d-none'); $("#jot-poll-wrap").addClass('d-none'); $("#jot-preview-content").html('').hide(); editor = false; + {{/if}} {{else}} window.history.back(); {{/if}} -- cgit v1.2.3