mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-22 19:37:38 +00:00
Don't try reconnect if connected
This commit is contained in:
parent
a3faaf0c18
commit
a002709870
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ define [], () ->
|
|||
|
||||
tryReconnect: () ->
|
||||
@cancelReconnect()
|
||||
return if @connected
|
||||
@$scope.connection.reconnecting = true
|
||||
delete @$scope.connection.reconnection_countdown
|
||||
@ide.socket.socket.reconnect()
|
||||
|
|
Loading…
Add table
Reference in a new issue