Skip to content

Commit 439c644

Browse files
committed
Fixed an API validation error in the chooseContext method. Fix phaserjs#4248
1 parent 36f08d8 commit 439c644

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* 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.
2020
* The Facebook Plugin is now available in the `Phaser.Scene` class template under the `facebook` property (thanks @bryanwood)
2121
* Fixed the `Leaderboard.getScores` method to now take the arguments into account. Fix #4271 (thanks @Oramy)
22+
* Fixed an API validation error in the `chooseContext` method. Fix #4248 (thanks @yadurajiv)
2223

2324
### Keyboard Input - New Features
2425

plugins/fbinstant/src/FacebookInstantGamesPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ var FacebookInstantGamesPlugin = new Class({
13221322
*/
13231323
chooseContext: function (options)
13241324
{
1325-
if (!this.checkAPI('contextChoseAsync'))
1325+
if (!this.checkAPI('contextChooseAsync'))
13261326
{
13271327
return this;
13281328
}

0 commit comments

Comments
 (0)