From a995df25f67d6069479685fca0965737bed0d3ed Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 9 Feb 2017 17:20:13 +0100 Subject: [PATCH] disable new OT in pad and code app --- www/code/main.js | 2 +- www/pad/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/code/main.js b/www/code/main.js index 7a913aa3c..238cf2607 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -154,7 +154,7 @@ define([ readOnly: readOnly, crypto: Crypto.createEncryptor(secret.keys), setMyID: setMyID, - transformFunction: JsonOT.transform || JsonOT.validate, + transformFunction: JsonOT.validate, }; var canonicalize = function (t) { return t.replace(/\r\n/g, '\n'); }; diff --git a/www/pad/main.js b/www/pad/main.js index 9ec08407d..d2eaa480b 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -397,7 +397,7 @@ define([ crypto: Crypto.createEncryptor(secret.keys), // really basic operational transform - transformFunction : JsonOT.transform || JsonOT.validate, + transformFunction : JsonOT.validate, // cryptpad debug logging (default is 1) // logLevel: 0,