[BUGFIX] Add touch event handler for retry button

This commit is contained in:
G. Bodenschatz
2014-03-12 18:03:11 +01:00
parent 7723697873
commit fc6206ab39
+1
View File
@@ -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;