1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
This commit is contained in:
Zack Scholl
2016-02-10 18:37:30 -05:00
parent f61b60b9c2
commit 40537cd672
3 changed files with 10 additions and 1 deletions

View File

@@ -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)