diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-04-13 12:50:37 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-13 12:50:37 +0200 |
commit | 2867cd20436c09e7c603b950ed4d43d3445b8d7c (patch) | |
tree | fd293739190eeaa03645fbc59557ff3d9c6744a2 /view/js | |
parent | 88ca6fc12e2799b51d4b3c3d9554b6bbf84c9101 (diff) | |
download | volse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.tar.gz volse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.tar.bz2 volse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.zip |
fix wrong item key
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index 7ef373b66..acb9b462f 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1165,7 +1165,7 @@ function post_comment(id) { $("#comment-edit-form-" + id).serialize(), function(data) { if(data.success) { - localStorage.removeItem("comment_body"); + localStorage.removeItem("comment_body-" + id); $("#comment-edit-preview-" + id).hide(); $("#comment-edit-wrapper-" + id).hide(); $("#comment-edit-text-" + id).val(''); |