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