diff --git a/dist/js/jquery.orgchart.js b/dist/js/jquery.orgchart.js index 09df8670..276db6fb 100644 --- a/dist/js/jquery.orgchart.js +++ b/dist/js/jquery.orgchart.js @@ -94,7 +94,7 @@ if (mutations[i].addedNodes[j].classList.contains('orgchart')) { if (opts.initCompleted && typeof opts.initCompleted === 'function') { opts.initCompleted($chart); - $chartContainer.triggerHandler({ 'type': 'init.orgchart', 'chart': $chart }); + $chart.triggerHandler({ 'type': 'init.orgchart' }); break initTime; } }