\n when inserting citation
This commit is contained in:
parent
f021a94fbc
commit
46bd98db36
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ let insert_quote post_id =
|
||||||
let content = Jv.get comment_textarea "value" in
|
let content = Jv.get comment_textarea "value" in
|
||||||
let new_content =
|
let new_content =
|
||||||
Jv.call content "concat"
|
Jv.call content "concat"
|
||||||
[| Jv.of_string " >>"; post_id; Jv.of_string " " |]
|
[| Jv.of_string "\n>>"; post_id; Jv.of_string " " |]
|
||||||
in
|
in
|
||||||
ignore @@ Jv.set comment_textarea "value" new_content;
|
ignore @@ Jv.set comment_textarea "value" new_content;
|
||||||
Jv.undefined
|
Jv.undefined
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue