mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-02 13:14:17 +01:00
feat(calculator): press Shift+C to open the calculator
This commit is contained in:
1 parent
3a0f06e0d3
commit
a68ba671d4
1 file changed
+1
-1
@@ -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