up missing js
This commit is contained in:
parent
f785e67f49
commit
31bbf6fc36
1 changed files with 9 additions and 6 deletions
|
@ -170,6 +170,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
|
||||||
// Initial draw
|
// Initial draw
|
||||||
console.log('[bubble chart] Initialisation avec taille proportionnelle ?', toggle.checked);
|
console.log('[bubble chart] Initialisation avec taille proportionnelle ?', toggle.checked);
|
||||||
|
if(drawBubbleChart){
|
||||||
|
|
||||||
drawBubbleChart(toggle && toggle.checked);
|
drawBubbleChart(toggle && toggle.checked);
|
||||||
// Listener
|
// Listener
|
||||||
toggle.addEventListener('change', function() {
|
toggle.addEventListener('change', function() {
|
||||||
|
@ -177,5 +179,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
drawBubbleChart(toggle.checked);
|
drawBubbleChart(toggle.checked);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
waitForChartAndDrawBubble();
|
waitForChartAndDrawBubble();
|
||||||
});
|
});
|
Loading…
Add table
Add a link
Reference in a new issue