fix commenting on 1st comment level

This commit is contained in:
Jakobus Schürz 2023-10-11 08:38:05 +02:00
parent 67a6899ed7
commit dd851c8eeb
2 changed files with 1 additions and 6 deletions

View file

@ -106,11 +106,6 @@ function commentExpand(id) {
closeMenu("comment-fake-form-" + id);
openMenu("item-comments-" + id);
$("#comment-edit-text-" + id)
.keydown(function (e) {
if ((e.ctrlKey || e.metaKey) && (e.keyCode == 13 || e.keyCode == 10)) {
$("#comment-edit-submit-" + id).trigger('click');
}
})
.putCursorAtEnd()
.addClass("comment-edit-text-full")
.removeClass("comment-edit-text-empty");