hotkey: Make Enter an alias for 'r'

(imported from commit 9bf1b97304a4a4c1100826fefbba8edf1e4cff12)
This commit is contained in:
Keegan McAllister 2012-12-04 10:43:25 -05:00
parent d5946454c9
commit 7907be735e
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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;