Skip to content

Commit

Permalink
[BUGFIX] Add touch event handler for retry button
Browse files Browse the repository at this point in the history
  • Loading branch information
coding46 committed Mar 12, 2014
1 parent 7723697 commit fc6206a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/keyboard_input_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ KeyboardInputManager.prototype.listen = function () {

var retry = document.getElementsByClassName("retry-button")[0];
retry.addEventListener("click", this.restart.bind(this));
retry.addEventListener("touchend", this.restart.bind(this));

// Listen to swipe events
var touchStartClientX, touchStartClientY;
Expand Down

0 comments on commit fc6206a

Please sign in to comment.