Fixing the binding function error

This commit is contained in:
Ashish Jain 2019-11-07 22:09:34 +01:00
parent 061a02dddc
commit 5b5be40dd5

View File

@ -44,7 +44,7 @@ const contentLoadedApi = function() {
(svgCode, bindFunctions) => {
div.innerHTML = svgCode;
bindFunctions(div);
if (bindFunctions) bindFunctions(div);
},
div
);