mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Updated
This commit is contained in:
@@ -50,6 +50,7 @@ func wshandler(w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
m.TextData = "saved"
|
||||
}
|
||||
if m.UpdateClient {
|
||||
m.UpdateClient = len(m.TextData) != len(p.CurrentText)
|
||||
|
||||
Reference in New Issue
Block a user