Commit 2025daa4 authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent 1466f245
......@@ -8,9 +8,7 @@ const changeListener = (event) => {
requestAnimationFrame(() => {
const element = event.target;
if (element.innerText === "\n" || element.innerHTML === "\n") {
element.innerText = "";
}
element.innerText = element.innerText.replace(/\n *$/, "");
})
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment