add touchend event (see PR #32)

This commit is contained in:
Laurent Margirier
2014-03-13 10:17:57 +01:00
parent e7be14d65a
commit bd62716d60
+1
View File
@@ -59,6 +59,7 @@ KeyboardInputManager.prototype.listen = function () {
var keepPlaying = document.querySelector(".keep-playing-button"); var keepPlaying = document.querySelector(".keep-playing-button");
keepPlaying.addEventListener("click", this.keepPlaying.bind(this)); keepPlaying.addEventListener("click", this.keepPlaying.bind(this));
keepPlaying.addEventListener("touchend", this.keepPlaying.bind(this));
// Listen to swipe events // Listen to swipe events
var touchStartClientX, touchStartClientY; var touchStartClientX, touchStartClientY;