Skip to content

Commit

Permalink
TRy
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed May 19, 2022
1 parent 28b807d commit 7adbd13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@ import { TempusDominus } from '@eonasdan/tempus-dominus';
document.addEventListener('DOMContentLoaded', () => {
const datePickers = document.querySelectorAll('[data-sonata-form-datepicker]');

datePickers.forEach((datePicker) => {
TempusDominus(datePicker);
});
datePickers.forEach((datePicker) => new TempusDominus(datePicker));
});
2 changes: 1 addition & 1 deletion src/Bridge/Symfony/Resources/public/app.js

Large diffs are not rendered by default.

0 comments on commit 7adbd13

Please sign in to comment.