From: dayinjing <94152841+dayinjing@users.noreply.github.com> Date: Fri, 12 Nov 2021 02:33:56 +0000 (-0600) Subject: Remove touch events X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22%7B%7D/%7Bthis.captchaPngSrc%28%29%7D?a=commitdiff_plain;h=579c4424d93406f5ed062dca9705bcb17d21e9f2;p=lemmy-ui.git Remove touch events Remove touch events, it breaks clicking links on mobile --- 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 {