Преглед изворни кода

note that acks are for our own ops

Brian Gough пре 10 година
родитељ
комит
d2ba575d85
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/public/coffee/ide/editor/ShareJsDoc.coffee

+ 1 - 1
services/web/public/coffee/ide/editor/ShareJsDoc.coffee

@@ -46,7 +46,7 @@ define [
 			@_doc.on "change", () =>
 				@trigger "change"
 			@_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"
 			@_doc.on "remoteop", () =>
 				# As soon as we're working with a collaborator, start sending