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

This reverts commit fd2dd8d67d.
This commit is contained in:
David Taylor 2019-01-16 17:47:40 +00:00
parent fd2dd8d67d
commit 98f26bcaf5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);