changes made
This commit is contained in:
parent
5d6544ed6a
commit
6b1086ddb9
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user