|
|
|
|
139
|
// For now gate etherpad checks behind a web-app check to be extra safe
|
139
|
// For now gate etherpad checks behind a web-app check to be extra safe
|
140
|
// against calling a web-app global.
|
140
|
// against calling a web-app global.
|
141
|
if (typeof APP !== 'undefined'
|
141
|
if (typeof APP !== 'undefined'
|
142
|
- && state['features/etherpad'].initialized
|
|
|
143
|
&& oldState.sharedDocumentVisible !== attributes.sharedDocumentVisible) {
|
142
|
&& oldState.sharedDocumentVisible !== attributes.sharedDocumentVisible) {
|
144
|
const isEtherpadVisible = attributes.sharedDocumentVisible === 'true';
|
143
|
const isEtherpadVisible = attributes.sharedDocumentVisible === 'true';
|
145
|
const documentManager = APP.UI.getSharedDocumentManager();
|
144
|
const documentManager = APP.UI.getSharedDocumentManager();
|