Fixed an API validation error in the chooseContext method. Fix #4248

This commit is contained in:
Richard Davey 2019-01-04 14:05:53 +00:00
parent 36f08d83e6
commit 439c644702
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@
* Showing an ad will emit the `adfinished` event when the ad is closed, previously this event was called `showad` but the new name better reflects what has happened.
* The Facebook Plugin is now available in the `Phaser.Scene` class template under the `facebook` property (thanks @bryanwood)
* Fixed the `Leaderboard.getScores` method to now take the arguments into account. Fix #4271 (thanks @Oramy)
* Fixed an API validation error in the `chooseContext` method. Fix #4248 (thanks @yadurajiv)
### Keyboard Input - New Features

View file

@ -1322,7 +1322,7 @@ var FacebookInstantGamesPlugin = new Class({
*/
chooseContext: function (options)
{
if (!this.checkAPI('contextChoseAsync'))
if (!this.checkAPI('contextChooseAsync'))
{
return this;
}