Readonly mode in /pad had contenteditable set to true

pull/1/head
yflory 8 years ago
parent 2ad9debe58
commit fadddb297c

@ -4,7 +4,6 @@
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
<link rel="stylesheet" href="/bower_components/components-font-awesome/css/font-awesome.min.css">
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
<script src="/bower_components/ckeditor/ckeditor.js"></script>
<style>

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

Loading…
Cancel
Save