Fix js
This commit is contained in:
parent
c3484f485d
commit
dd18ffdbcd
|
@ -55,7 +55,9 @@ else {
|
||||||
<script>
|
<script>
|
||||||
function get(url) {
|
function get(url) {
|
||||||
fetch(url).then(function(response) {
|
fetch(url).then(function(response) {
|
||||||
document.getElementById('log').innerText = ' Log playback (' + response.text() + ')';
|
return response.text();
|
||||||
|
}).then(function(text) {
|
||||||
|
document.getElementById('log').innerText = ' Log playback (' + text + ')';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue