Skip to content

Commit 52b5051

Browse files
committed
address issue 5289 - set false locale
1 parent 4afc441 commit 52b5051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/plots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ function emptySubplotLists() {
667667
*/
668668
function getFormatObj(gd, formatKeys) {
669669
var locale = gd._context.locale;
670-
if(!locale) locale === 'en-US';
670+
if(!locale) locale = 'en-US';
671671

672672
var formatDone = false;
673673
var formatObj = {};

0 commit comments

Comments
 (0)