Revert "FIX: makes click-interceptor working with touchstart (#6890)"

Revert “FIX: makes click-interceptor working with touchstart (#6890)”

This reverts commit fd2dd8d67dcb45aba455681f1f70f885830f23c1.

diff --git a/app/assets/javascripts/discourse/initializers/click-interceptor.js.es6 b/app/assets/javascripts/discourse/initializers/click-interceptor.js.es6
index 2830fdd..ccafb1d 100644
--- a/app/assets/javascripts/discourse/initializers/click-interceptor.js.es6
+++ b/app/assets/javascripts/discourse/initializers/click-interceptor.js.es6
@@ -4,7 +4,7 @@ import DiscourseURL from "discourse/lib/url";
 export default {
   name: "click-interceptor",
   initialize() {
-    $("#main").on("touchstart.discourse click.discourse", "a", interceptClick);
+    $("#main").on("click.discourse", "a", interceptClick);
     $(window).on("hashchange", () =>
       DiscourseURL.routeTo(document.location.hash)
     );

GitHub sha: 98f26bca

1 Like