Merge pull request #32 from coding46/patch-1
[2048.git] / js / keyboard_input_manager.js
blob:a/js/keyboard_input_manager.js -> blob:b/js/keyboard_input_manager.js
--- a/js/keyboard_input_manager.js
+++ b/js/keyboard_input_manager.js
@@ -55,6 +55,7 @@
 
   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;

comments