Skip to content

Commit

Permalink
[FIX] JS variable declaration in the template
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeufer committed Dec 17, 2024
1 parent ae32701 commit 091f50f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ Section Order:
### Security
-->

### Fixed

- JS variable declaration in the template. (`const` instead of `let`)

## [2.2.2] - 2024-12-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion timezones/templates/timezones/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<!-- share options with JS part -->
<script>
let aaTimezonesOptions = {
const aaTimezonesOptions = {
base_url: '{% url "timezones:index" %}',
timestamp: '{{ timestamp }}',
translation: {
Expand Down

0 comments on commit 091f50f

Please sign in to comment.