Skip to content

Commit

Permalink
Update ESP32_SpeechRecognition.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Aug 3, 2019
1 parent b758e68 commit 9a1e928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ESP32_SpeechRecognition.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
<script src="https://fustyles.github.io/webduino/myBlockly/SpeechRecognition/speechrecognition.js"></script>
<script>
var strUrl=location.search;
if (strUrl.indexOf("?")!=-1)
if (strUrl.indexOf("?")!=-1) {
var STAIP = strUrl.split("?")[1].split("&")[0];
var Lang = strUrl.split("?")[1].split("&")[1];
}
</script>
</head>
<body onclick="if (Lang.trim()!='') document.getElementById('lang').value=Lang;">
Expand Down

0 comments on commit 9a1e928

Please sign in to comment.