Commit 22e29cdba4125567ff8bb1dff738486b64b07511
1 parent
c9dbf270
bug fix
Showing
1 changed file
with
1 additions
and
1 deletions
datalets/datasetexplorer-datalet/datasetexplorer-datalet.html
| @@ -263,7 +263,7 @@ Example: | @@ -263,7 +263,7 @@ Example: | ||
| 263 | }, | 263 | }, |
| 264 | 264 | ||
| 265 | attached: function(){ | 265 | attached: function(){ |
| 266 | - datasetexplorer_ln["ln"] = ODE.user_language; | 266 | + datasetexplorer_ln["ln"] = (typeof ODE != 'undefined') ? ODE.user_language : parent.ODE.user_language; |
| 267 | } | 267 | } |
| 268 | 268 | ||
| 269 | }); | 269 | }); |