commento.js: use value instead of innerText for textarea
This commit is contained in:
parent
a9a1dc6376
commit
3ef4a79547
@ -1194,7 +1194,7 @@
|
|||||||
text.replaceWith(textareaCreate(id, true));
|
text.replaceWith(textareaCreate(id, true));
|
||||||
|
|
||||||
var textarea = $(ID_TEXTAREA + id);
|
var textarea = $(ID_TEXTAREA + id);
|
||||||
textarea.innerText = commentsMap[id].markdown.replace(" ", " ").replace("\n", "<br>");
|
textarea.value = commentsMap[id].markdown;
|
||||||
|
|
||||||
var editButton = $(ID_EDIT + id);
|
var editButton = $(ID_EDIT + id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user