mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Try to reconnect when the user types in the editor.
This commit is contained in:
@@ -21,6 +21,8 @@ define [], () ->
|
||||
|
||||
@$scope.$on "editor:change", () =>
|
||||
@lastUpdated = new Date()
|
||||
if !@connected
|
||||
@tryReconnect()
|
||||
|
||||
@ide.socket = io.connect null,
|
||||
reconnect: false
|
||||
|
||||
Reference in New Issue
Block a user