pull/1/head
yflory 7 years ago
parent 9184dd0ce6
commit bdd24ed14f

@ -39,8 +39,6 @@ define([
Listmap, Listmap,
Messages) Messages)
{ {
var Messages = Cryptpad.Messages;
var APP = window.APP = { var APP = window.APP = {
editable: false, editable: false,
Cryptpad: Cryptpad, Cryptpad: Cryptpad,

@ -393,8 +393,8 @@ define([
var onReady = function () { var onReady = function () {
APP.$container.find('#'+CREATE_ID).remove(); APP.$container.find('#'+CREATE_ID).remove();
var obj = APP.lm && APP.lm.proxy; /*var obj = APP.lm && APP.lm.proxy;
/*if (!APP.readOnly) { if (!APP.readOnly) {
var pubKeys = Cryptpad.getPublicKeys(); var pubKeys = Cryptpad.getPublicKeys();
if (pubKeys && pubKeys.curve) { if (pubKeys && pubKeys.curve) {
obj.curveKey = pubKeys.curve; obj.curveKey = pubKeys.curve;

@ -595,8 +595,6 @@ define([
} }
}; };
config.onError = onConnectError;
cpNfInner = common.startRealtime(config); cpNfInner = common.startRealtime(config);
metadataMgr = cpNfInner.metadataMgr; metadataMgr = cpNfInner.metadataMgr;

Loading…
Cancel
Save