diff --git a/www/drive/inner.js b/www/drive/inner.js index 144d80eea..8ddc7c968 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -39,8 +39,6 @@ define([ Listmap, Messages) { - var Messages = Cryptpad.Messages; - var APP = window.APP = { editable: false, Cryptpad: Cryptpad, diff --git a/www/profile/inner.js b/www/profile/inner.js index 9320ebe5f..730a537b9 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -393,8 +393,8 @@ define([ var onReady = function () { APP.$container.find('#'+CREATE_ID).remove(); - var obj = APP.lm && APP.lm.proxy; - /*if (!APP.readOnly) { + /*var obj = APP.lm && APP.lm.proxy; + if (!APP.readOnly) { var pubKeys = Cryptpad.getPublicKeys(); if (pubKeys && pubKeys.curve) { obj.curveKey = pubKeys.curve; diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index 82eb9e835..491ea0d0e 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -595,8 +595,6 @@ define([ } }; - config.onError = onConnectError; - cpNfInner = common.startRealtime(config); metadataMgr = cpNfInner.metadataMgr;