mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 17:15:37 +00:00
fmt: ws -> window.ws
This commit is contained in:
@@ -22,7 +22,7 @@ function websocketOnOpen (evt) {
|
|||||||
|
|
||||||
const foo = '{}'
|
const foo = '{}'
|
||||||
|
|
||||||
ws.send(foo)
|
window.ws.send(foo)
|
||||||
}
|
}
|
||||||
|
|
||||||
function websocketOnMessage (msg) {
|
function websocketOnMessage (msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user