Skip to content

Commit 6f6fa8c

Browse files
authored
Compensating for an API change
1 parent b69e4f4 commit 6f6fa8c

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

EngagementWidget/EngagementWidgetHTML.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,17 @@ <h5>
8181
}
8282
},
8383
loadVenn = function() {
84-
if (typeof window.Highcharts._modules["Series/Venn/VennUtils.js"] !== "undefined") {
85-
return doChart();
86-
} else {
87-
let script = document.createElement('script');
88-
script.onload = function () {
89-
doChart()
90-
};
91-
script.src = "https://code.highcharts.com/modules/venn.js";
92-
93-
document.head.appendChild(script);
94-
}
84+
let script = document.createElement('script');
85+
script.onload = function () {
86+
doChart()
87+
};
88+
script.src = "https://code.highcharts.com/modules/venn.js";
89+
90+
document.head.appendChild(script);
9591
};
9692
loadHighcharts();
9793
};
9894
engagementChart();
9995

10096

101-
</script>
97+
</script>

0 commit comments

Comments
 (0)