spelling change and removed console log
This commit is contained in:
parent
55fbe283a7
commit
5d6544ed6a
@ -296,7 +296,7 @@ class OperationsWaiter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler for keyboard enter/space events.
|
* Handler for keyboard enter/space events.
|
||||||
* Uses "Enter" or "Space" to mimick the click function and open the operations panels .
|
* Uses "Enter" or "Space" to mimic the click function and open the operations panels .
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
*/
|
*/
|
||||||
keyboardEventHandler(ev){
|
keyboardEventHandler(ev){
|
||||||
@ -324,7 +324,6 @@ class OperationsWaiter {
|
|||||||
*/
|
*/
|
||||||
operationPopulateRecipe(){
|
operationPopulateRecipe(){
|
||||||
let cat = document.querySelectorAll(".op-list li.operation");
|
let cat = document.querySelectorAll(".op-list li.operation");
|
||||||
console.log("cat=" , cat);
|
|
||||||
for(let i = 0; i < cat.children.length; i++){
|
for(let i = 0; i < cat.children.length; i++){
|
||||||
cat.children[i].addEventListener("keydown", this.keyboardPopulateRecipe, false);
|
cat.children[i].addEventListener("keydown", this.keyboardPopulateRecipe, false);
|
||||||
};
|
};
|
||||||
@ -333,7 +332,7 @@ class OperationsWaiter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handler to add operators to recipe with keyboard.
|
* Handler to add operators to recipe with keyboard.
|
||||||
* Uses keyboard shortcut "CTRl + Enter" to mimick operationDblClick handler function
|
* Uses keyboard shortcut "CTRl + Enter" to mimic operationDblClick handler function
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
*/
|
*/
|
||||||
keyboardPopulateRecipe(ev){
|
keyboardPopulateRecipe(ev){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user