Add tooltip styles; allow for both c and C to be pressed for clear
This commit is contained in:
parent
8ceafac46f
commit
574e15e8a1
3 changed files with 27 additions and 3 deletions
|
|
@ -202,7 +202,7 @@ function handleKeys(e) {
|
|||
button = document.querySelector("#dec");
|
||||
} else if (e.key === "Backspace" || e.key === "Delete") {
|
||||
button = document.querySelector(".entry");
|
||||
} else if (e.key === "c" || e.key === "Escape") {
|
||||
} else if (e.key === "c" || e.key === "C" || e.key === "Escape") {
|
||||
button = document.querySelector(".all");
|
||||
} else if (operators.hasOwnProperty(e.key)) {
|
||||
e.preventDefault();
|
||||
|
|
|
|||
Loading…
Reference in a new issue