This repository was archived by the owner on May 12, 2021. It is now read-only.
Commit 9b38080
robjloranger
add key shortcut for submitting from compose
this adds an event listener on the text area of the composer
it listens for a keydown event with both <enter> and either <control> on
windows and linux or <command> on osx then it fires the locally scoped
method 'publish' and prevents default event handling1 parent d3bfb19 commit 9b38080
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
0 commit comments