mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
docs: Fix capitalization of keyboard keys.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c155403884
commit
fb2e56e3c9
@@ -91,7 +91,7 @@ exports.set_up_alert_words = function () {
|
||||
|
||||
$("#create_alert_word_form").on("keypress", "#create_alert_word_name", (event) => {
|
||||
const key = event.which;
|
||||
// Handle enter (13) as "add".
|
||||
// Handle Enter (13) as "add".
|
||||
if (key === 13) {
|
||||
event.preventDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user