From 8058d3f728b37dd7399f0aa1bd7adbf5b1bd04b0 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 8 Jun 2020 07:43:09 +0100 Subject: [PATCH] Removed debug code --- ReactNativeClient/lib/components/note-body-viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactNativeClient/lib/components/note-body-viewer.js b/ReactNativeClient/lib/components/note-body-viewer.js index aa18411fe4..d1c1fd8af5 100644 --- a/ReactNativeClient/lib/components/note-body-viewer.js +++ b/ReactNativeClient/lib/components/note-body-viewer.js @@ -84,7 +84,7 @@ class NoteBodyViewer extends Component { injectedJs.push(shim.injectedJs('webviewLib')); // Note that this postMessage function accepts two arguments, for compatibility with the desktop version, but // the ReactNativeWebView actually supports only one, so the second arg is ignored (and currently not needed for the mobile app). - injectedJs.push('window.joplinPostMessage_ = (msg, args) => { console.info("AAAAAAAAAAAAAAAAA"); return window.ReactNativeWebView.postMessage(msg); };'); + injectedJs.push('window.joplinPostMessage_ = (msg, args) => { return window.ReactNativeWebView.postMessage(msg); };'); injectedJs.push('webviewLib.initialize({ postMessage: msg => { return window.ReactNativeWebView.postMessage(msg); } });'); injectedJs.push(` const readyStateCheckInterval = setInterval(function() {