Skip to content

Commit e312fd7

Browse files
Fix chart render issue in admin list page #813
1 parent 71fecd0 commit e312fd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/render-google.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,12 @@ var __visualizer_chart_images = [];
462462
callback: function () {
463463
gv = google.visualization;
464464
all_charts = v.charts;
465-
if ( document.getElementById( v.id ).offsetParent !== null ) {
466-
if(v.is_front == true && typeof v.id !== 'undefined'){ // jshint ignore:line
465+
if(v.is_front == true && typeof v.id !== 'undefined'){ // jshint ignore:line
466+
if ( document.getElementById( v.id ).offsetParent !== null ) {
467467
renderChart(v.id);
468-
} else {
469-
render();
470468
}
469+
} else {
470+
render();
471471
}
472472
}
473473
});

0 commit comments

Comments
 (0)