diff --git a/www/poll/main.js b/www/poll/main.js index e689d33a4..99b887e56 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -22,6 +22,9 @@ define([ var secret = Cryptpad.getSecrets(); var readOnly = secret.keys && !secret.keys.editKeyStr; + if (!secret.keys) { + secret.keys = secret.key; + } Cryptpad.addLoadingScreen(); var onConnectError = function (info) {