aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-13 12:50:37 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-13 12:50:37 +0200
commit2867cd20436c09e7c603b950ed4d43d3445b8d7c (patch)
treefd293739190eeaa03645fbc59557ff3d9c6744a2 /view/js/main.js
parent88ca6fc12e2799b51d4b3c3d9554b6bbf84c9101 (diff)
downloadvolse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.tar.gz
volse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.tar.bz2
volse-hubzilla-2867cd20436c09e7c603b950ed4d43d3445b8d7c.zip
fix wrong item key
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js2
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('');