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