mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-06 14:37:11 -04:00
spelling change and removed console log
This commit is contained in:
parent
55fbe283a7
commit
5d6544ed6a
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue