diff --git a/www/slide/main.js b/www/slide/main.js index e03daa48e..86869a89b 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -276,7 +276,9 @@ define([ Cryptpad.alert("Server Connection Lost"); }; - var rt = Realtime.start(config); + Cryptpad.ready(function () { + var rt = Realtime.start(config); + }); ['cut', 'paste', 'change', 'keyup', 'keydown', 'select', 'textInput'] .forEach(function (evt) {