aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/form.js
diff options
context:
space:
mode:
authorYuriy Bilogub2013-10-27 10:14:11 +0200
committerPete Bacon Darwin2013-10-27 21:42:23 +0000
commit0429f6c7f5a9a273095049815f0bc00fe28ea0c4 (patch)
tree842c3d82bc6627fc165117febf0e43799794962b /src/ng/directive/form.js
parent7c5e2511fda62e26b6dd3fd7db37e8be6b60600f (diff)
downloadangular.js-0429f6c7f5a9a273095049815f0bc00fe28ea0c4.tar.bz2
docs(form): fix typo
Close #4671
Diffstat (limited to 'src/ng/directive/form.js')
-rw-r--r--src/ng/directive/form.js2
1 files changed, 1 insertions, 1 deletions
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