Skip to content

Commit

Permalink
no window type check - window always present
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed May 6, 2022
1 parent cbe73da commit f9ba248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function registerTraceModule(_module) {
// add `PlotlyGeoAssets` global to stash references to all fetched
// topojson / geojson data
if((bpmName === 'geo' || bpmName === 'mapbox') &&
(typeof window !== 'undefined' && window.PlotlyGeoAssets === undefined)
(window.PlotlyGeoAssets === undefined)
) {
window.PlotlyGeoAssets = {topojson: {}};
}
Expand Down

0 comments on commit f9ba248

Please sign in to comment.