Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f9ba248

Browse files
committedMay 6, 2022
no window type check - window always present
1 parent cbe73da commit f9ba248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function registerTraceModule(_module) {
276276
// add `PlotlyGeoAssets` global to stash references to all fetched
277277
// topojson / geojson data
278278
if((bpmName === 'geo' || bpmName === 'mapbox') &&
279-
(typeof window !== 'undefined' && window.PlotlyGeoAssets === undefined)
279+
(window.PlotlyGeoAssets === undefined)
280280
) {
281281
window.PlotlyGeoAssets = {topojson: {}};
282282
}

0 commit comments

Comments
 (0)
Please sign in to comment.