Selaa lähdekoodia

fix(iframe_api): s/getNumberOfParticipant/getNumberOfParticipants

j8
hristoterezov 8 vuotta sitten
vanhempi
commit
207ac47aa7
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1
    1
      doc/api/api.md
  2. 1
    1
      modules/API/external/external_api.js

+ 1
- 1
doc/api/api.md Näytä tiedosto

@@ -204,7 +204,7 @@ api.removeEventListeners(["incomingMessage", "outgoingMessageListener"]);
204 204
 
205 205
 You can get the number of participants in the conference with the following code:
206 206
 ```
207
-var numberOfParticipants = api.getNumberOfParticipant();
207
+var numberOfParticipants = api.getNumberOfParticipants();
208 208
 ```
209 209
 
210 210
 You can remove the embedded Jitsi Meet Conference with the following code:

+ 1
- 1
modules/API/external/external_api.js Näytä tiedosto

@@ -352,7 +352,7 @@ JitsiMeetExternalAPI.prototype.removeEventListeners = function(events) {
352 352
  * NOTE: the local participant is included.
353 353
  * @returns {int} the number of participants in the conference.
354 354
  */
355
-JitsiMeetExternalAPI.prototype.getNumberOfParticipant = function() {
355
+JitsiMeetExternalAPI.prototype.getNumberOfParticipants = function() {
356 356
     return this.numberOfParticipants;
357 357
 };
358 358
 

Loading…
Peruuta
Tallenna