diff options
-rw-r--r-- | views/new-post.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/views/new-post.php b/views/new-post.php index 18e81d1..0d79767 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -270,10 +270,6 @@ $(function(){ } }); - if($("#note_in_reply_to").val() != "") { - $("#note_in_reply_to").change(); - } - $("#btn_post").click(function(){ // Collect all the syndication buttons that are pressed @@ -452,7 +448,12 @@ $(function(){ bind_syndication_buttons(); - restoreNoteState(); + if($("#note_in_reply_to").val() != "") { + $("#note_in_reply_to").change(); + } else { + restoreNoteState(); + } + }); <?= partial('partials/syndication-js') ?> |