Thanks to visit codestin.com Credit goes to github.com
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 98b08e7 commit cbe73daCopy full SHA for cbe73da
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)
+ (typeof window !== 'undefined' && window.PlotlyGeoAssets === undefined)
280
) {
281
window.PlotlyGeoAssets = {topojson: {}};
282
}
0 commit comments