diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 07:58:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 07:58:57 +0000 |
commit | 4419c93d8062794e5c2bbc222699881e5b97fc99 (patch) | |
tree | ba4b0b8a3843e710d1cce37f9a343e9fe693772c | |
parent | fcc13ce02cc0962875f5f977107c0b0d71a58098 (diff) | |
download | volse-hubzilla-4419c93d8062794e5c2bbc222699881e5b97fc99.tar.gz volse-hubzilla-4419c93d8062794e5c2bbc222699881e5b97fc99.tar.bz2 volse-hubzilla-4419c93d8062794e5c2bbc222699881e5b97fc99.zip |
this should not be required anymore
-rw-r--r-- | view/js/main.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/view/js/main.js b/view/js/main.js index d39e22b1a..ca82e3101 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1380,7 +1380,6 @@ function post_comment(id) { form_data + '&conv_mode=' + conv_mode, function(data) { if(data.success) { - localStorage.removeItem("comment_body-" + id); $("#comment-edit-preview-" + id).hide(); $("#comment-edit-text-" + id).val('').blur().attr('placeholder', aStr.comment); @@ -1395,10 +1394,6 @@ function post_comment(id) { commentClose(tarea, id); $(document).off( "click.commentOpen"); } - - } - if(data.reload) { - window.location.href=data.reload; } }, "json" |