diff --git a/sample/Assets/Scripts/SampleWebView.cs b/sample/Assets/Scripts/SampleWebView.cs index 66ebd883..3ce63573 100644 --- a/sample/Assets/Scripts/SampleWebView.cs +++ b/sample/Assets/Scripts/SampleWebView.cs @@ -64,7 +64,7 @@ IEnumerator Start() " window.Unity = {" + " call:function(msg) {" + " var iframe = document.createElement('IFRAME');" + - " iframe.setAttribute('src', 'unity:' + msg;" + + " iframe.setAttribute('src', 'unity:' + msg);" + " document.documentElement.appendChild(iframe);" + " iframe.parentNode.removeChild(iframe);" + " iframe = null;" + diff --git a/sample/Assets/StreamingAssets/sample.html b/sample/Assets/StreamingAssets/sample.html index 36597706..e0543b94 100644 --- a/sample/Assets/StreamingAssets/sample.html +++ b/sample/Assets/StreamingAssets/sample.html @@ -8,7 +8,7 @@