Skip to content
Snippets Groups Projects
Commit 961035c4 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Minor UI fix

parent 36393725
Branches
No related tags found
No related merge requests found
......@@ -19,7 +19,9 @@ function initFakeInput() {
elem.addEventListener("keypress", keyListener);
}
elem.dataset["bound_fake_input"] = "true";
element.innerText = element.innerText.replace(/\n *$/, "");
if (element.innerText.trim() === "") {
element.innerText = "";
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment