mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 03:55:53 +00:00
Resolve timing issue when triggering selection-related logic.
This commit is contained in:
parent
53b18e041f
commit
240d6d6f6b
1 changed files with 2 additions and 2 deletions
|
@ -289,8 +289,8 @@ define [
|
|||
session.$fromReject = false
|
||||
else
|
||||
throw new Error("unknown change: #{JSON.stringify(change)}")
|
||||
@updateFocus()
|
||||
|
||||
setTimeout () => @updateFocus()
|
||||
|
||||
removeCommentId: (comment_id) ->
|
||||
@rangesTracker.removeCommentId(comment_id)
|
||||
@updateAnnotations()
|
||||
|
|
Loading…
Reference in a new issue