Commit 1a6e54e1 authored by Janne Koschinski's avatar Janne Koschinski

Minor UI fix

parent 41584897
......@@ -6,7 +6,6 @@ const keyListener = (event) => {
function initFakeInput() {
Array.prototype.slice.call(document.querySelectorAll(".fake-input[contenteditable]:not([data-bound_fake_input])")).forEach(elem => {
elem.addEventListener("input", changeListener);
if (elem.dataset["multiline"] === undefined) {
elem.addEventListener("keypress", keyListener);
}
......
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