mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb+LibJS+Tests: Fix typos - act I
This commit is contained in:
Notes:
github-actions[bot]
2025-04-07 10:23:14 +00:00
Author: https://github.com/szepeviktor 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b4b8d85251d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3859 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -12,7 +12,7 @@
|
||||
test(() => {
|
||||
const input = document.getElementById("input");
|
||||
input.addEventListener("beforeinput", (e) => {
|
||||
println(`beforeinput data=(${e.data}) intputType=(${e.inputType})`);
|
||||
println(`beforeinput data=(${e.data}) inputType=(${e.inputType})`);
|
||||
if (e.data !== 'r' && e.data !== 'e') {
|
||||
e.preventDefault();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user