diff options
Diffstat (limited to 'view')
-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" |