Commit 961035c4 authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent 36393725
......@@ -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 = "";
}
});
}
......
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