mirror of https://github.com/zulip/zulip.git
Add a shortcut to pull up the shortcuts dialog.
(imported from commit 0d6d3ba78a06f0eb1ecba8e6a571b79709980cef)
This commit is contained in:
parent
50da6b14d1
commit
22a32c09c4
|
@ -83,6 +83,12 @@
|
|||
<td class="hotkey">Spacebar</td>
|
||||
<td class="definition">Scroll down several messages</td>
|
||||
</tr>
|
||||
|
||||
<tr><th class="hotkey_heading" colspan="2">Miscellaneous</th></tr>
|
||||
<tr>
|
||||
<td class="hotkey">?</td>
|
||||
<td class="definition">Open keyboard shortcut help</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -110,6 +110,9 @@ function process_hotkey(code) {
|
|||
case 82: // 'R': respond to author
|
||||
respond_to_message("personal");
|
||||
return process_hotkey;
|
||||
case 63: // '?': Show keyboard shortcuts page
|
||||
$('#keyboard-shortcuts').modal('show');
|
||||
return process_hotkey;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue