提交 fc6206ab 编写于 作者: G G. Bodenschatz

[BUGFIX] Add touch event handler for retry button

上级 77236978
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册