mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove dead code, backend does not send single change events anymore.
This commit is contained in:
parent
8d8bcab1e8
commit
6c3cdbcc3a
1 changed files with 0 additions and 8 deletions
|
@ -74,14 +74,6 @@ define [
|
|||
$scope.$apply()
|
||||
$timeout () ->
|
||||
$scope.$broadcast "review-panel:layout"
|
||||
|
||||
ide.socket.on "accept-change", (doc_id, change_id) ->
|
||||
if doc_id != $scope.editor.open_doc_id
|
||||
getChangeTracker(doc_id).removeChangeId(change_id)
|
||||
else
|
||||
$scope.$broadcast "changes:accept", [ change_id ]
|
||||
updateEntries(doc_id)
|
||||
$scope.$apply () ->
|
||||
|
||||
ide.socket.on "accept-changes", (doc_id, change_ids) ->
|
||||
if doc_id != $scope.editor.open_doc_id
|
||||
|
|
Loading…
Reference in a new issue