Browse Source

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

master
damencho 9 years ago
parent
commit
ca62f9bec2
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      modules/FollowMe.js

+ 4
- 3
modules/FollowMe.js View File

@@ -154,9 +154,10 @@ class FollowMe {
154 154
 
155 155
         this._nextOnStage(smallVideo, isPinned);
156 156
 
157
-        this._sharedDocumentToggled
158
-            .bind(this, this._UI.getSharedDocumentManager().isVisible());
159
-
157
+        // check whether shared document is enabled/initialized
158
+        if(this._UI.getSharedDocumentManager())
159
+            this._sharedDocumentToggled
160
+                .bind(this, this._UI.getSharedDocumentManager().isVisible());
160 161
     }
161 162
 
162 163
     /**

Loading…
Cancel
Save