From 579c4424d93406f5ed062dca9705bcb17d21e9f2 Mon Sep 17 00:00:00 2001 From: dayinjing <94152841+dayinjing@users.noreply.github.com> Date: Thu, 11 Nov 2021 20:33:56 -0600 Subject: [PATCH] Remove touch events Remove touch events, it breaks clicking links on mobile --- src/shared/components/app/navbar.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/shared/components/app/navbar.tsx b/src/shared/components/app/navbar.tsx index be88d33..7a3ad4b 100644 --- a/src/shared/components/app/navbar.tsx +++ b/src/shared/components/app/navbar.tsx @@ -157,7 +157,6 @@ export class Navbar extends Component { {this.props.site_res.site_view && ( { { { @@ -253,7 +249,6 @@ export class Navbar extends Component { prevPath: this.currentLocation, }} className="nav-link" - onTouchEnd={linkEvent(this, this.handleHideExpandNavbar)} onMouseUp={linkEvent(this, this.handleHideExpandNavbar)} title={i18n.t("create_post")} > @@ -265,7 +260,6 @@ export class Navbar extends Component { @@ -289,7 +283,6 @@ export class Navbar extends Component { @@ -338,7 +331,6 @@ export class Navbar extends Component { { @@ -461,7 +452,6 @@ export class Navbar extends Component { -- 2.44.1