fix js
This commit is contained in:
parent
c865080df1
commit
253073f15f
30
rice-box.go
30
rice-box.go
File diff suppressed because one or more lines are too long
|
@ -24,7 +24,7 @@ function createWebSocketConnection() {
|
||||||
let data = JSON.parse(event.data)
|
let data = JSON.parse(event.data)
|
||||||
|
|
||||||
if (data.type === 'response') {
|
if (data.type === 'response') {
|
||||||
response.innertext = data.value
|
response.innerText = data.value
|
||||||
response.style.display = 'block'
|
response.style.display = 'block'
|
||||||
|
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
|
|
Loading…
Reference in a new issue