Skip to content

Commit 5c1111d

Browse files
Fix console when creating the table chart #837
1 parent 5c23714 commit 5c1111d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/render-google.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,8 @@ var __visualizer_chart_images = [];
385385

386386
function render() {
387387
for (var id in (all_charts || {})) {
388-
if (document.getElementById( id ).offsetParent !== null) {
388+
var chartElement = document.getElementById( id );
389+
if (chartElement && chartElement.offsetParent) {
389390
renderChart(id);
390391
}
391392
}

0 commit comments

Comments
 (0)