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 6940aac commit f169380Copy full SHA for f169380
src/core.js
@@ -66,8 +66,9 @@ register([
66
]);
67
68
// locales that are present in the window should be loaded
69
-if(window.PlotlyLocales && window.PlotlyLocales.length) {
+if(window.PlotlyLocales && Array.isArray(window.PlotlyLocales)) {
70
register(window.PlotlyLocales);
71
+ delete window.PlotlyLocales;
72
}
73
74
// plot icons
0 commit comments