Add the ability to focus on paste (#545)
authorDean Bassett <dean@dbassett.dev>
Thu, 12 May 2022 11:28:19 +0000 (04:28 -0700)
committerGitHub <noreply@github.com>
Thu, 12 May 2022 11:28:19 +0000 (16:58 +0530)
commitb3cb48319a57dc5d1f68ff6b34fde53f11a7f8e0
tree75ab88232ea29bb0c7f0e92dc9683b4911403098
parent44553cc375d92c99ecd522c8216a5bdc0ab49e84
Add the ability to focus on paste (#545)

* pasting should focus the message field

also refactored a small amount to use KeyEvent.code
instead of KeyEvent.keyCode, which is deprecated.

fixes ajbura/cinny#544

* fix lint

* comments
src/client/event/hotkeys.js