mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
editor: remove grayed logic and styles so background color is not lost on disconnect/reconnect.
This commit is contained in:
parent
8b28e00784
commit
5f58ce14d6
3 changed files with 0 additions and 5 deletions
|
@ -696,7 +696,6 @@ function Ace2Inner() {
|
|||
sideDiv.parentNode.classList.toggle('line-numbers-hidden', !hasLineNumbers);
|
||||
fixView();
|
||||
},
|
||||
grayedout: (val) => outerWin.document.body.classList.toggle('grayedout', !!val),
|
||||
dmesg: () => { dmesg = window.dmesg = value; },
|
||||
userauthor: (value) => {
|
||||
thisAuthor = String(value);
|
||||
|
|
|
@ -161,7 +161,6 @@ const padeditor = (() => {
|
|||
},
|
||||
disable: () => {
|
||||
if (self.ace) {
|
||||
self.ace.setProperty('grayedOut', true);
|
||||
self.ace.setEditable(false);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue