File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ will be show next):
353
353
var $collectionHolder;
354
354
355
355
// setup an "add a tag" link
356
- var $addTagButton = $ (' <button type="button" class="add_tag_link">Add a tag</a >' );
356
+ var $addTagButton = $ (' <button type="button" class="add_tag_link">Add a tag</button >' );
357
357
var $newLinkLi = $ (' <li></li>' ).append ($addTagButton);
358
358
359
359
jQuery (document ).ready (function () {
@@ -648,7 +648,7 @@ The ``addTagFormDeleteLink()`` function will look something like this:
648
648
.. code-block :: javascript
649
649
650
650
function addTagFormDeleteLink ($tagFormLi ) {
651
- var $removeFormButton = $ (' <button type="button">Delete this tag</a >' );
651
+ var $removeFormButton = $ (' <button type="button">Delete this tag</button >' );
652
652
$tagFormLi .append ($removeFormButton);
653
653
654
654
$removeFormButton .on (' click' , function (e ) {
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ And update the template as follows:
212
212
213
213
<button type="button"
214
214
class="add-another-collection-widget"
215
- data-list="#email-fields-list">Add another email</a >
215
+ data-list="#email-fields-list">Add another email</button >
216
216
217
217
{# ... #}
218
218
{{ form_end(form) }}
You can’t perform that action at this time.
0 commit comments