mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Don't try reconnect if connected
This commit is contained in:
@@ -105,6 +105,7 @@ define [], () ->
|
||||
|
||||
tryReconnect: () ->
|
||||
@cancelReconnect()
|
||||
return if @connected
|
||||
@$scope.connection.reconnecting = true
|
||||
delete @$scope.connection.reconnection_countdown
|
||||
@ide.socket.socket.reconnect()
|
||||
|
||||
Reference in New Issue
Block a user