From a68ba671d42f14c8470c32ed3e068f5e7b94b740 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Wed, 25 Dec 2024 15:08:47 -0300 Subject: [PATCH] feat(calculator): press Shift+C to open the calculator --- app/templates/includes/tools/calculator.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/includes/tools/calculator.html b/app/templates/includes/tools/calculator.html index 25cc4ed..3015d5b 100644 --- a/app/templates/includes/tools/calculator.html +++ b/app/templates/includes/tools/calculator.html @@ -12,7 +12,7 @@ on focusin halt the event end -- this prevents bootstrap's static offcanvas from hijacking the focus from the input when open end - on show + on show or keyup[code is 'KeyC' and shiftKey is true and target.nodeName is 'BODY'] from body if my.classList.contains('tw-hidden') remove .tw-hidden from me measure my width, height