add ctrl + d as well

This commit is contained in:
Azizul Karim 2025-01-31 21:02:53 +06:00
parent 75cf43c795
commit 362782d368
No known key found for this signature in database
GPG key ID: EC7B9BE87276BA4B

View file

@ -21,7 +21,7 @@
node: document.getElementById("elm"), node: document.getElementById("elm"),
}); });
initSockets(app); initSockets(app);
const allowedKeys = ["l"]; const allowedKeys = ["l", "d"];
document.addEventListener("keydown", (event) => { document.addEventListener("keydown", (event) => {
if ( if (
event.ctrlKey && event.ctrlKey &&