diff --git a/form/form_collections.rst b/form/form_collections.rst index d7e98b9ed88..4fb5f37ee70 100644 --- a/form/form_collections.rst +++ b/form/form_collections.rst @@ -328,7 +328,7 @@ will be show next): // count the current form inputs we have (e.g. 2), use that as the new // index when inserting a new item (e.g. 2) - $collectionHolder.data('index', $collectionHolder.find(':input').length); + $collectionHolder.data('index', $collectionHolder.find('input').length); $addTagButton.on('click', function(e) { // add a new tag form (see next code block)