1 function qCommentInsert(obj, id)
3 let $textarea = $('#comment-edit-text-' + id);
5 if ($textarea.val() === '') {
6 $textarea.addClass('comment-edit-text-full');
7 $textarea.removeClass('comment-edit-text-empty');
8 openMenu('comment-edit-submit-wrapper-' + id);
11 var ins = $(obj).val();
12 ins = ins.replace('<', '<');
13 ins = ins.replace('>', '>');
14 ins = ins.replace('&', '&');
15 ins = ins.replace('"', '"');
16 $textarea.val($textarea.val() + ins);