Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
webda2l committed Jan 2, 2023
1 parent 65fcf1c commit 824016d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/a2lix_sf_collection.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@a2lix/symfony-collection",
"version": "0.6.0",
"version": "0.6.1",
"description": "Manage your Symfony Form collection simply with vanilla JS",
"main": "src/a2lix_sf_collection.ts",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/a2lix_sf_collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ a2lix_lib.sfCollection = (() => {

entryAddElt.parentElement!.insertBefore(templateContentEntry, entryAddElt)
proceedCollectionElts(
(entryAddElt.previousSibling as Element).querySelectorAll(
entryAddElt.previousElementSibling!.querySelectorAll(
cfg.collectionsSelector
),
cfg
Expand Down

0 comments on commit 824016d

Please sign in to comment.