File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments