changes made

This commit is contained in:
j264415 2024-02-19 13:38:02 +00:00
parent 5d6544ed6a
commit 6b1086ddb9

View file

@ -288,8 +288,8 @@ class OperationsWaiter {
* Get the children of categories and add event listener to them.
*/
onKeyPress() {
let cat = document.getElementById("categories");
for(let i = 0; i < cat.children.length; i++){
const cat = document.getElementById("categories");
for (let i = 0; i < cat.children.length; i++){
cat.children[i].addEventListener("keydown", this.keyboardEventHandler, false);
};
}