mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-21 21:01:29 +01:00
Message: Fix links system menu on Android (follow-up)
This commit is contained in:
parent
a9ef15fb34
commit
1de2cea724
@ -54,7 +54,7 @@ export default function useOuterHandlers(
|
||||
|
||||
function handleContextMenu(e: React.MouseEvent<HTMLDivElement, MouseEvent>) {
|
||||
if (IS_ANDROID) {
|
||||
if (!(e.target as HTMLElement).matches('a[href]')) {
|
||||
if ((e.target as HTMLElement).matches('a[href]')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user