Skip to content

Commit aaf50fe

Browse files
author
Lubos Zlatohlavek
committed
triv: #no-task added missing target in datepicker init
1 parent cbfdb3e commit aaf50fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-smartbase-admin"
3-
version = "1.0.32"
3+
version = "1.0.33"
44
description = ""
55
authors = ["SmartBase <[email protected]>"]
66
readme = "README.md"

src/django_smartbase_admin/static/sb_admin/src/js/datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class Datepicker {
1616
documentLocale = 'default'
1717
}
1818
flatpickr.localize(this.getLocale(documentLocale))
19-
this.initWidgets()
19+
this.initWidgets(target)
2020
if(target === document) {
2121
document.addEventListener('formset:added', (e) => {
2222
this.initWidgets(e.target)

0 commit comments

Comments
 (0)