Fix carte initialize
This commit is contained in:
parent
10a859cedf
commit
6215ccb3d7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ function diplayMap(element, data, initial = false) {
|
|||
}
|
||||
}
|
||||
|
||||
addEventListener('ds:page:update', initialize);
|
||||
addEventListener('turbolinks:load', initialize);
|
||||
|
||||
addEventListener('carte:update', ({ detail: { selector, data } }) => {
|
||||
const element = document.querySelector(selector);
|
||||
|
|
Loading…
Reference in a new issue