diff --git a/datalets/datasetexplorer-datalet/datasetexplorer-datalet.html b/datalets/datasetexplorer-datalet/datasetexplorer-datalet.html index 408a225..cdf3485 100755 --- a/datalets/datasetexplorer-datalet/datasetexplorer-datalet.html +++ b/datalets/datasetexplorer-datalet/datasetexplorer-datalet.html @@ -263,7 +263,7 @@ Example: }, attached: function(){ - datasetexplorer_ln["ln"] = ODE.user_language; + datasetexplorer_ln["ln"] = (typeof ODE != 'undefined') ? ODE.user_language : parent.ODE.user_language; } });