./bw-dev prettier

This commit is contained in:
Jascha Urbach 2022-12-20 00:06:02 +01:00
parent e4892701d8
commit 259ceeea21
No known key found for this signature in database
GPG key ID: A43A844B114F9B08

View file

@ -47,14 +47,11 @@
.querySelectorAll("[data-remove]")
.forEach((node) => node.addEventListener("click", removeInput));
document
.querySelectorAll("[name='subjects']")
.forEach((node) => node.addEventListener("keypress",
function (event) {
document.querySelectorAll("[name='subjects']").forEach((node) =>
node.addEventListener("keypress", function (event) {
if (event.keyCode == 13) {
event.preventDefault();
}
}
))
})
);
})();