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 } }) => {
|
addEventListener('carte:update', ({ detail: { selector, data } }) => {
|
||||||
const element = document.querySelector(selector);
|
const element = document.querySelector(selector);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue