Skip to content

Commit

Permalink
checking charts are loaded for SymbolixAU#189
Browse files Browse the repository at this point in the history
  • Loading branch information
SymbolixAU committed Dec 27, 2018
1 parent c4b9fcb commit 992f766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/google_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ HTMLWidgets.widget({
//global map object
window[el.id + 'map'] = map;

if (google !== undefined) {
if (google !== undefined && google.charts !== undefined ) {
//console.log("exists");
clearInterval(checkExists);

Expand Down

0 comments on commit 992f766

Please sign in to comment.