Commit 6e242d843af4b3515ea51a40a3e9af9035b38b43

Authored by Andrea Petta
1 parent 44cffc23

plugin update

bower_components/neon-animation/neon-animated-pages.html
... ... @@ -34,7 +34,7 @@ animations to be run when switching to or switching out of the page.
34 34 }
35 35  
36 36 :host > ::content > * {
37   - position: absolute;
  37 + /*position: absolute; SPODDESPODDESPODDE*/
38 38 top: 0;
39 39 left: 0;
40 40 bottom: 0;
... ...
datalets/base-datalet/base-datalet.html
... ... @@ -288,10 +288,12 @@ Example :
288 288 translate: function() {
289 289 var ln = "en";
290 290  
291   - if(ODE && ODE.user_language)
292   - ln = ODE.user_language;
293   - else if(parent && parent.ODE && parent.ODE.user_language)
294   - ln = parent.ODE.user_language;
  291 + try {
  292 + if (ODE && ODE.user_language)
  293 + ln = ODE.user_language;
  294 + else if (parent && parent.ODE && parent.ODE.user_language)
  295 + ln = parent.ODE.user_language;
  296 + }catch (e){}
295 297  
296 298 this.$.export_to_html.innerHTML = base_datalet_ln["export_HTML_" + ln];
297 299 this.$.export_to_png.innerHTML = base_datalet_ln["export_PNG_" + ln];
... ...