mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-06 23:11:38 +00:00
Fix order of args
This commit is contained in:
parent
e2bb6dcecb
commit
a022f83cce
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ define [
|
|||
|
||||
_joinDoc: (callback = (error) ->) ->
|
||||
if @doc?
|
||||
@ide.socket.emit 'joinDoc', @doc_id, { encodeRanges: true }, @doc.getVersion(), (error, docLines, version, updates, ranges) =>
|
||||
@ide.socket.emit 'joinDoc', @doc_id, @doc.getVersion(), { encodeRanges: true }, (error, docLines, version, updates, ranges) =>
|
||||
return callback(error) if error?
|
||||
@joined = true
|
||||
@doc.catchUp( updates )
|
||||
|
|
Loading…
Reference in a new issue