Skip to content

Commit

Permalink
add touchend event (see PR gabrielecirulli#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
marg51 committed Mar 13, 2014
1 parent e7be14d commit bd62716
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 @@ -59,6 +59,7 @@ KeyboardInputManager.prototype.listen = function () {

var keepPlaying = document.querySelector(".keep-playing-button");
keepPlaying.addEventListener("click", this.keepPlaying.bind(this));
keepPlaying.addEventListener("touchend", this.keepPlaying.bind(this));

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

0 comments on commit bd62716

Please sign in to comment.