Skip to content
Snippets Groups Projects
Commit 63854f9e authored by Václav Končický's avatar Václav Končický
Browse files

JS: Variable misnaming fix

parent d4a3ea17
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
......@@ -37,7 +37,7 @@ exports.render_md = function () {
b.innerHTML = result;
const reply = b.parentElement.getElementsByClassName("preply")[0];
reply.onclick = function() {
cmt.value = n.replaceAll(/^/gm, "> ");
cmt.value = src.replaceAll(/^/gm, "> ");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment