From 4b7adf83973c221eaefdaff76c735fb199263154 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Fri, 1 Aug 2014 17:04:24 -0700 Subject: [PATCH] Make events documentation more clear Fixes #2335. See also Issue #2202. --- docs/client/api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/client/api.html b/docs/client/api.html index 876e0b877f..f1ac161bb2 100644 --- a/docs/client/api.html +++ b/docs/client/api.html @@ -2304,8 +2304,8 @@ Example: // Fires when any element with the 'accept' class is clicked 'click .accept': function (event) { ... }, - // Fires when 'accept' is clicked, or a key is pressed - 'keydown, click .accept': function (event) { ... } + // Fires when 'accept' is clicked or focused, or a key is pressed + 'click .accept, focus .accept, keypress': function (event) { ... } } Most events bubble up the document tree from their originating