We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbe73da commit f9ba248Copy full SHA for f9ba248
src/registry.js
@@ -276,7 +276,7 @@ function registerTraceModule(_module) {
276
// add `PlotlyGeoAssets` global to stash references to all fetched
277
// topojson / geojson data
278
if((bpmName === 'geo' || bpmName === 'mapbox') &&
279
- (typeof window !== 'undefined' && window.PlotlyGeoAssets === undefined)
+ (window.PlotlyGeoAssets === undefined)
280
) {
281
window.PlotlyGeoAssets = {topojson: {}};
282
}
0 commit comments