diff options
author | Mario <mario@mariovavti.com> | 2021-06-21 18:45:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-06-21 18:45:33 +0000 |
commit | cc4f3a827c71f7a9a3c4b77328bb2427759795f4 (patch) | |
tree | 13338cb389ebe0ca9456c4e16fe2edf6cc4dcbb4 /view | |
parent | 0489fbb6853944dcaad97d0e95466a34dc65f0d1 (diff) | |
download | volse-hubzilla-cc4f3a827c71f7a9a3c4b77328bb2427759795f4.tar.gz volse-hubzilla-cc4f3a827c71f7a9a3c4b77328bb2427759795f4.tar.bz2 volse-hubzilla-cc4f3a827c71f7a9a3c4b77328bb2427759795f4.zip |
streamline jot popup for mod hq
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/hq.tpl | 4 | ||||
-rw-r--r-- | view/tpl/jot-header.tpl | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/view/tpl/hq.tpl b/view/tpl/hq.tpl deleted file mode 100644 index 099d892bb..000000000 --- a/view/tpl/hq.tpl +++ /dev/null @@ -1,4 +0,0 @@ -<div id="jot-popup"> -{{$editor}} -</div> - 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}} |