Skip to content

Commit b645b27

Browse files
committed
jsdoc fix.
1 parent 8519c9e commit b645b27

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/input/Pointer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ Phaser.Pointer.prototype = {
700700
*
701701
* A click trampoline is a callback that is run on the DOM 'click' event; this is primarily
702702
* needed with certain browsers (ie. IE11) which restrict some actions like requestFullscreen
703-
* to the DOM 'click' event and reject it for 'pointer*' and 'mouse*' events.
703+
* to the DOM 'click' event and rejects it for 'pointer*' and 'mouse*' events.
704704
*
705705
* This is used internally by the ScaleManager; click trampoline usage is uncommon.
706706
* Click trampolines can only be added to pointers that are currently down.
@@ -741,13 +741,14 @@ Phaser.Pointer.prototype = {
741741
},
742742

743743
/**
744-
* Fire all click trampolines for which the pointers are still refering to the registered object.
744+
* Fire all click trampolines for which the pointers are still referring to the registered object.
745745
* @method Phaser.Pointer#processClickTrampolines
746746
* @private
747747
*/
748748
processClickTrampolines: function () {
749749

750750
var trampolines = this._clickTrampolines;
751+
751752
if (!trampolines)
752753
{
753754
return;

0 commit comments

Comments
 (0)