Fix js
This commit is contained in:
parent
c3484f485d
commit
dd18ffdbcd
|
@ -55,7 +55,9 @@ else {
|
|||
<script>
|
||||
function get(url) {
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue