mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
readwrite should be on innerdoc
This commit is contained in:
parent
20e899476a
commit
27d4686ff8
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ function handshake()
|
||||||
pad._afterHandshake();
|
pad._afterHandshake();
|
||||||
initalized = true;
|
initalized = true;
|
||||||
|
|
||||||
$("body").addClass(clientVars.readonly ? "readonly" : "readwrite")
|
$("#innerdocbody").addClass(clientVars.readonly ? "readonly" : "readwrite")
|
||||||
|
|
||||||
padeditor.ace.callWithAce(function (ace) {
|
padeditor.ace.callWithAce(function (ace) {
|
||||||
ace.ace_setEditable(!clientVars.readonly);
|
ace.ace_setEditable(!clientVars.readonly);
|
||||||
|
|
Loading…
Reference in a new issue