Skip to content

Commit 18eb26c

Browse files
Merge pull request #259 from contactashish13/helpscout-159943
initialize settings to any empty object if it's null
2 parents 26138e2 + c9e8667 commit 18eb26c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/render.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
series = chart.series;
1414
data = chart.data;
1515
settings = chart.settings;
16+
if(settings == null){
17+
settings = {};
18+
}
1619

1720
container = document.getElementById(id);
1821
if (container == null) {

0 commit comments

Comments
 (0)