From 0429f6c7f5a9a273095049815f0bc00fe28ea0c4 Mon Sep 17 00:00:00 2001 From: Yuriy Bilogub Date: Sun, 27 Oct 2013 10:14:11 +0200 Subject: docs(form): fix typo Close #4671 --- src/ng/directive/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ng/directive') diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index 4e8cd104..36f66c63 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -265,7 +265,7 @@ function FormController(element, attrs) { * * - If a form has only one input field then hitting enter in this field triggers form submit * (`ngSubmit`) - * - if a form has has 2+ input fields and no buttons or input[type=submit] then hitting enter + * - if a form has 2+ input fields and no buttons or input[type=submit] then hitting enter * doesn't trigger submit * - if a form has one or more input fields and one or more buttons or input[type=submit] then * hitting enter in any of the input fields will trigger the click handler on the *first* button or -- cgit v1.2.3