diff --git a/src/static/js/collab_client.js b/src/static/js/collab_client.js index 9b8a8c07e..a5620f7b5 100644 --- a/src/static/js/collab_client.js +++ b/src/static/js/collab_client.js @@ -756,7 +756,7 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad) setIsPendingRevision: setIsPendingRevision }; - $(document).ready(setUpSocket); + setUpSocket(); return self; }