mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove extra event emission. add debug print.
This commit is contained in:
parent
6866d45c3c
commit
a043f28d9b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,6 @@ define [
|
|||
if doc.doc_id
|
||||
entity = @ide.fileTreeManager.findEntityById doc.doc_id
|
||||
if entity?.name?.match /.*\.bib$/
|
||||
@$scope.$emit 'references:changed', entity
|
||||
@indexReferences([doc.doc_id], true)
|
||||
|
||||
@$scope.$on 'project:joined', (e) =>
|
||||
|
@ -18,6 +17,7 @@ define [
|
|||
setTimeout(
|
||||
(self) ->
|
||||
self.ide.socket.on 'references:keys:updated', (keys) ->
|
||||
console.log '>> got keys from socket'
|
||||
self._storeReferencesKeys(keys)
|
||||
, 100
|
||||
, this
|
||||
|
|
Loading…
Reference in a new issue