mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-10 03:03:45 +02:00
feat(calculator): press Shift+C to open the calculator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user