mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Fixed an API validation error in the chooseContext
method. Fix #4248
This commit is contained in:
parent
36f08d83e6
commit
439c644702
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1322,7 +1322,7 @@ var FacebookInstantGamesPlugin = new Class({
|
|||
*/
|
||||
chooseContext: function (options)
|
||||
{
|
||||
if (!this.checkAPI('contextChoseAsync'))
|
||||
if (!this.checkAPI('contextChooseAsync'))
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue