mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
note that acks are for our own ops
This commit is contained in:
parent
c25395d80b
commit
d2ba575d85
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ define [
|
||||||
@_doc.on "change", () =>
|
@_doc.on "change", () =>
|
||||||
@trigger "change"
|
@trigger "change"
|
||||||
@_doc.on "acknowledge", () =>
|
@_doc.on "acknowledge", () =>
|
||||||
@lastAcked = new Date() # note time of last ack from server
|
@lastAcked = new Date() # note time of last ack from server for an op we sent
|
||||||
@trigger "acknowledge"
|
@trigger "acknowledge"
|
||||||
@_doc.on "remoteop", () =>
|
@_doc.on "remoteop", () =>
|
||||||
# As soon as we're working with a collaborator, start sending
|
# As soon as we're working with a collaborator, start sending
|
||||||
|
|
Loading…
Reference in a new issue