Adds a check to make follow me work without etherpad enabled.

This commit is contained in:
damencho 2016-06-07 13:38:47 -05:00
parent 207e6e1b7d
commit ca62f9bec2
1 changed files with 4 additions and 3 deletions

View File

@ -154,9 +154,10 @@ class FollowMe {
this._nextOnStage(smallVideo, isPinned);
this._sharedDocumentToggled
.bind(this, this._UI.getSharedDocumentManager().isVisible());
// check whether shared document is enabled/initialized
if(this._UI.getSharedDocumentManager())
this._sharedDocumentToggled
.bind(this, this._UI.getSharedDocumentManager().isVisible());
}
/**