Readonly mode in /pad had contenteditable set to true

This commit is contained in:
yflory
2017-02-27 12:41:29 +01:00
parent 2ad9debe58
commit fadddb297c
2 changed files with 1 additions and 2 deletions

View File

@@ -700,7 +700,7 @@ define([
Cryptpad.getLastName(function (err, lastName) {
console.log("Unlocking editor");
setEditable(true);
setEditable(!readOnly);
initializing = false;
Cryptpad.removeLoadingScreen(emitResize);