diff --git a/www/code/main.js b/www/code/main.js index c5e605ef4..9646e6d44 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -153,7 +153,7 @@ define([ readOnly: readOnly, crypto: Crypto.createEncryptor(secret.keys), setMyID: setMyID, - transformFunction: JsonOT.validate + transformFunction: JsonOT.transform || JsonOT.validate, }; var canonicalize = function (t) { return t.replace(/\r\n/g, '\n'); };