aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 47815d2c6..486f5b8d6 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1084,8 +1084,10 @@ function post_comment(id) {
$("#comment-edit-wrapper-" + id).hide();
$("#comment-edit-text-" + id).val('');
var tarea = document.getElementById("comment-edit-text-" + id);
- if(tarea)
+ if(tarea) {
commentClose(tarea, id);
+ $(document).unbind( "click.commentOpen");
+ }
if(timer) clearTimeout(timer);
timer = setTimeout(NavUpdate,1500);
}