Robert Marshall 8 anni fa
parent
commit
3c669c1903
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scripts/directives/googleChart.js

+ 1 - 1
scripts/directives/googleChart.js

@@ -73,7 +73,7 @@ app.directive('googleChart', function() {
 					packages: ['corechart'],
 					callback: function() {
 						chartLoaded = true;
-						google.setOnLoadCallback(setupChart);
+						setupChart();
 					}
 				});
 			});