mirror of https://github.com/zulip/zulip.git
hotkey: Make Enter an alias for 'r'
(imported from commit 9bf1b97304a4a4c1100826fefbba8edf1e4cff12)
This commit is contained in:
parent
d5946454c9
commit
7907be735e
|
@ -24,7 +24,7 @@
|
|||
<td class="definition">Compose new private message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hotkey">r</td>
|
||||
<td class="hotkey">Enter or r</td>
|
||||
<td class="definition">Respond to message</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -108,6 +108,7 @@ function process_hotkey(e) {
|
|||
case 67: // 'C': compose huddle
|
||||
compose.start('private');
|
||||
return true;
|
||||
case 13: // Enter or
|
||||
case 114: // 'r': respond to message
|
||||
respond_to_message();
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue