diff --git a/editor/js/ui/editor.js b/editor/js/ui/editor.js index b9bbb4d51..c2e30e814 100644 --- a/editor/js/ui/editor.js +++ b/editor/js/ui/editor.js @@ -1392,7 +1392,7 @@ RED.editor = (function() { if (options.globals) { setTimeout(function() { if (!!session.$worker) { - session.$worker.send("setOptions", [{globals: options.globals}]); + session.$worker.send("setOptions", [{globals: options.globals, esversion:6}]); } },100); }