diff --git a/src/platform/emscripten/lol_shell.html b/src/platform/emscripten/lol_shell.html index 269e3496..a9d6a053 100644 --- a/src/platform/emscripten/lol_shell.html +++ b/src/platform/emscripten/lol_shell.html @@ -161,8 +161,8 @@ canvas.emscripten Module.setStatus('Please wait, calculating load balance ...', 0, 1); //Module <-> Page communication setup var cur_obj = (parent) ? (parent) : (this); - cur_obj.g_embed_em_module = Module; - cur_obj.SendMessageToModule = function() { this.g_embed_em_module.SendMessage(this.GetTextAreaCodeSrc().value); }; + cur_obj.g_embed_module = Module; + cur_obj.SendMessageToModule = function() { this.g_embed_module.SendMessage(this.GetTextAreaCodeSrc().value); }; cur_obj.ModuleSentMessage = function(message) { /* */ }; diff --git a/test/meshviewer_index.html b/test/meshviewer_index.html index fbc38356..54a0467a 100644 --- a/test/meshviewer_index.html +++ b/test/meshviewer_index.html @@ -1,5 +1,6 @@ +