fix(iframe_api): s/getNumberOfParticipant/getNumberOfParticipants

pull/1253/head
hristoterezov 8 years ago
parent 8844f83a59
commit 207ac47aa7
  1. 2
      doc/api/api.md
  2. 2
      modules/API/external/external_api.js

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

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

Loading…
Cancel
Save