Browse Source

don't restore previous note state if reply URL is set

pull/52/head
Aaron Parecki 9 years ago
parent
commit
455a6c9dfe
  1. 11
      views/new-post.php

11
views/new-post.php

@ -270,10 +270,6 @@ $(function(){
} }
}); });
if($("#note_in_reply_to").val() != "") {
$("#note_in_reply_to").change();
}
$("#btn_post").click(function(){ $("#btn_post").click(function(){
// Collect all the syndication buttons that are pressed // Collect all the syndication buttons that are pressed
@ -452,7 +448,12 @@ $(function(){
bind_syndication_buttons(); bind_syndication_buttons();
restoreNoteState();
if($("#note_in_reply_to").val() != "") {
$("#note_in_reply_to").change();
} else {
restoreNoteState();
}
}); });
<?= partial('partials/syndication-js') ?> <?= partial('partials/syndication-js') ?>

Loading…
Cancel
Save