Parcourir la source

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

master
damencho il y a 9 ans
Parent
révision
ca62f9bec2
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4
    3
      modules/FollowMe.js

+ 4
- 3
modules/FollowMe.js Voir le fichier

154
 
154
 
155
         this._nextOnStage(smallVideo, isPinned);
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
     /**

Chargement…
Annuler
Enregistrer